mirror of
https://github.com/iofq/nvim.nix.git
synced 2026-01-23 08:55:16 -06:00
Shrink image size
This commit is contained in:
parent
f66e3dde6a
commit
062f6cd5a1
3 changed files with 29 additions and 6 deletions
|
|
@ -120,7 +120,6 @@ end
|
||||||
}
|
}
|
||||||
lspconfig.pyright.setup {}
|
lspconfig.pyright.setup {}
|
||||||
lspconfig.nil_ls.setup {}
|
lspconfig.nil_ls.setup {}
|
||||||
lspconfig.phpactor.setup {}
|
|
||||||
|
|
||||||
-- Global mappings.
|
-- Global mappings.
|
||||||
-- See `:help vim.diagnostic.*` for documentation on any of the below functions
|
-- See `:help vim.diagnostic.*` for documentation on any of the below functions
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,6 @@
|
||||||
gopls
|
gopls
|
||||||
pyright
|
pyright
|
||||||
nil
|
nil
|
||||||
phpactor
|
|
||||||
];
|
];
|
||||||
neovim-with-deps = recursiveMerge [
|
neovim-with-deps = recursiveMerge [
|
||||||
pkgs.neovim-unwrapped
|
pkgs.neovim-unwrapped
|
||||||
|
|
@ -42,10 +41,10 @@
|
||||||
'';
|
'';
|
||||||
in rec {
|
in rec {
|
||||||
packages.neovim = pkgs.wrapNeovim neovim-with-deps ({
|
packages.neovim = pkgs.wrapNeovim neovim-with-deps ({
|
||||||
viAlias = true;
|
viAlias = false;
|
||||||
vimAlias = true;
|
vimAlias = true;
|
||||||
withRuby = false;
|
withRuby = false;
|
||||||
withPython3 = true;
|
withPython3 = false;
|
||||||
extraMakeWrapperArgs = ''--prefix PATH : "${pkgs.lib.makeBinPath dependencies}"'';
|
extraMakeWrapperArgs = ''--prefix PATH : "${pkgs.lib.makeBinPath dependencies}"'';
|
||||||
configure = {
|
configure = {
|
||||||
customRC =
|
customRC =
|
||||||
|
|
@ -57,7 +56,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
apps.neovim = flake-utils.lib.mkApp {
|
apps.neovim = flake-utils.lib.mkApp {
|
||||||
drv = packages.neovim; name = "neovim"; exePath = "/bin/nvim";
|
drv = packages.neovim; name = "neovim"; exePath = "/bin/nvim";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
28
plugins.nix
28
plugins.nix
|
|
@ -7,7 +7,33 @@
|
||||||
neogit
|
neogit
|
||||||
nvim-lspconfig
|
nvim-lspconfig
|
||||||
nvim-treesitter-textobjects
|
nvim-treesitter-textobjects
|
||||||
nvim-treesitter.withAllGrammars
|
(nvim-treesitter.withPlugins(p: with p; [
|
||||||
|
tree-sitter-bash
|
||||||
|
tree-sitter-c
|
||||||
|
tree-sitter-comment
|
||||||
|
tree-sitter-css
|
||||||
|
tree-sitter-dockerfile
|
||||||
|
tree-sitter-embedded-template
|
||||||
|
tree-sitter-go
|
||||||
|
tree-sitter-gomod
|
||||||
|
tree-sitter-hcl
|
||||||
|
tree-sitter-html
|
||||||
|
tree-sitter-javascript
|
||||||
|
tree-sitter-json
|
||||||
|
tree-sitter-lua
|
||||||
|
tree-sitter-make
|
||||||
|
tree-sitter-markdown
|
||||||
|
tree-sitter-markdown-inline
|
||||||
|
tree-sitter-nix
|
||||||
|
tree-sitter-php
|
||||||
|
tree-sitter-python
|
||||||
|
tree-sitter-regex
|
||||||
|
tree-sitter-ruby
|
||||||
|
tree-sitter-sql
|
||||||
|
tree-sitter-toml
|
||||||
|
tree-sitter-typescript
|
||||||
|
tree-sitter-yaml
|
||||||
|
]))
|
||||||
oil-nvim
|
oil-nvim
|
||||||
refactoring-nvim
|
refactoring-nvim
|
||||||
rose-pine
|
rose-pine
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue