vim: add rust tools

This commit is contained in:
Sean Buckley 2024-09-16 02:30:11 -04:00
parent 01e1c845d6
commit 384de6f9db
2 changed files with 13 additions and 0 deletions

View file

@ -26,6 +26,11 @@ lspconfig.pyright.setup({
capabilities = capabilities, capabilities = capabilities,
}) })
----------------------------------------------------------------
lspconfig.rust_analyzer.setup({
capabilities = capabilities,
})
---------------------------------------------------------------- ----------------------------------------------------------------
lspconfig.ts_ls.setup({ lspconfig.ts_ls.setup({
capabilities = capabilities, capabilities = capabilities,

View file

@ -2,6 +2,7 @@
, runCommand , runCommand
, black , black
, cargo
, efm-langserver , efm-langserver
, errcheck , errcheck
, go , go
@ -10,6 +11,9 @@
, nil , nil
, nodePackages , nodePackages
, pyright , pyright
, rust-analyzer
, rustc
, rustfmt
, vscode-langservers-extracted , vscode-langservers-extracted
, yaml-language-server , yaml-language-server
}: }:
@ -25,6 +29,7 @@ symlinkJoin {
name = "bck-nvim-tools"; name = "bck-nvim-tools";
paths = [ paths = [
black black
cargo
efm-langserver efm-langserver
errcheck errcheck
go go
@ -32,6 +37,9 @@ symlinkJoin {
lua-language-server lua-language-server
nil nil
pyright pyright
rust-analyzer
rustc
rustfmt
vscode-langservers-extracted vscode-langservers-extracted
yaml-language-server yaml-language-server