From 6347d51dc2780eb90231871f1f6f0eb21ffb7278 Mon Sep 17 00:00:00 2001 From: Asmir A Date: Fri, 27 Oct 2023 01:39:05 +0200 Subject: [PATCH] lsp_servers: move packages from flake.nix to nvim-lsp.nix --- nvim-lsp.nix | 91 ++++++++++++++++++++++++++++++---------------------- 1 file changed, 53 insertions(+), 38 deletions(-) diff --git a/nvim-lsp.nix b/nvim-lsp.nix index a9767b4..e3c3cdb 100644 --- a/nvim-lsp.nix +++ b/nvim-lsp.nix @@ -7,44 +7,59 @@ EOF ''; - packages.myPlugins.start = with pkgs.vimPlugins; [ - (nvim-treesitter.withPlugins (parsers: [ - parsers.c - parsers.cpp - parsers.go - parsers.json - parsers.latex - parsers.lua - parsers.nix - parsers.python - parsers.query - parsers.rust - parsers.verilog - parsers.vimdoc - parsers.zig - ])) - cmp-buffer - cmp-cmdline - cmp-nvim-lsp - cmp-nvim-ultisnips - cmp-path - colorizer - fugitive - fzf-lua - gopls - gruvbox - nvim-cmp - nvim-lspconfig - nvim-ts-rainbow - repeat - targets-vim - UltiSnips - vim-addon-nix - vim-signify - vim-slime - vim-snippets - zig-vim - ]; + packages.myPlugins.start = with pkgs.vimPlugins; + [ + (nvim-treesitter.withPlugins (parsers: [ + parsers.c + parsers.cpp + parsers.go + parsers.json + parsers.latex + parsers.lua + parsers.nix + parsers.python + parsers.query + parsers.rust + parsers.verilog + parsers.vimdoc + parsers.zig + ])) + cmp-buffer + cmp-cmdline + cmp-nvim-lsp + cmp-nvim-ultisnips + cmp-path + colorizer + fugitive + fzf-lua + gruvbox + nvim-cmp + nvim-lspconfig + nvim-ts-rainbow + repeat + targets-vim + UltiSnips + vim-addon-nix + vim-signify + vim-slime + vim-snippets + 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 + ]; }; };