diff --git a/pkgs/bck-nvim-base/lua/5-lsp.lua b/pkgs/bck-nvim-base/lua/5-lsp.lua index ca27178..7dcfd3f 100644 --- a/pkgs/bck-nvim-base/lua/5-lsp.lua +++ b/pkgs/bck-nvim-base/lua/5-lsp.lua @@ -26,6 +26,11 @@ lspconfig.pyright.setup({ capabilities = capabilities, }) +---------------------------------------------------------------- +lspconfig.rust_analyzer.setup({ + capabilities = capabilities, +}) + ---------------------------------------------------------------- lspconfig.ts_ls.setup({ capabilities = capabilities, diff --git a/pkgs/bck-nvim-tools.nix b/pkgs/bck-nvim-tools.nix index f02d376..cab53f2 100644 --- a/pkgs/bck-nvim-tools.nix +++ b/pkgs/bck-nvim-tools.nix @@ -2,6 +2,7 @@ , runCommand , black +, cargo , efm-langserver , errcheck , go @@ -10,6 +11,9 @@ , nil , nodePackages , pyright +, rust-analyzer +, rustc +, rustfmt , vscode-langservers-extracted , yaml-language-server }: @@ -25,6 +29,7 @@ symlinkJoin { name = "bck-nvim-tools"; paths = [ black + cargo efm-langserver errcheck go @@ -32,6 +37,9 @@ symlinkJoin { lua-language-server nil pyright + rust-analyzer + rustc + rustfmt vscode-langservers-extracted yaml-language-server