lsp_servers: move packages from flake.nix to nvim-lsp.nix

This commit is contained in:
Asmir A 2023-10-27 01:39:05 +02:00
parent 3c95acb92e
commit 6347d51dc2

View File

@ -7,44 +7,59 @@
EOF EOF
''; '';
packages.myPlugins.start = with pkgs.vimPlugins; [ packages.myPlugins.start = with pkgs.vimPlugins;
(nvim-treesitter.withPlugins (parsers: [ [
parsers.c (nvim-treesitter.withPlugins (parsers: [
parsers.cpp parsers.c
parsers.go parsers.cpp
parsers.json parsers.go
parsers.latex parsers.json
parsers.lua parsers.latex
parsers.nix parsers.lua
parsers.python parsers.nix
parsers.query parsers.python
parsers.rust parsers.query
parsers.verilog parsers.rust
parsers.vimdoc parsers.verilog
parsers.zig parsers.vimdoc
])) parsers.zig
cmp-buffer ]))
cmp-cmdline cmp-buffer
cmp-nvim-lsp cmp-cmdline
cmp-nvim-ultisnips cmp-nvim-lsp
cmp-path cmp-nvim-ultisnips
colorizer cmp-path
fugitive colorizer
fzf-lua fugitive
gopls fzf-lua
gruvbox gruvbox
nvim-cmp nvim-cmp
nvim-lspconfig nvim-lspconfig
nvim-ts-rainbow nvim-ts-rainbow
repeat repeat
targets-vim targets-vim
UltiSnips UltiSnips
vim-addon-nix vim-addon-nix
vim-signify vim-signify
vim-slime vim-slime
vim-snippets vim-snippets
zig-vim zig-vim
]; ]
++ [
pkgs.alejandra
pkgs.ccls
pkgs.gopls
pkgs.luaformatter
pkgs.nixd
pkgs.pyright
pkgs.rust-analyzer
pkgs.sumneko-lua-language-server
pkgs.svls
pkgs.texlab
pkgs.tree-sitter
pkgs.verible
pkgs.zls
];
}; };
}; };