mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
vim: add rust tools
This commit is contained in:
parent
01e1c845d6
commit
384de6f9db
2 changed files with 13 additions and 0 deletions
|
@ -26,6 +26,11 @@ lspconfig.pyright.setup({
|
|||
capabilities = capabilities,
|
||||
})
|
||||
|
||||
----------------------------------------------------------------
|
||||
lspconfig.rust_analyzer.setup({
|
||||
capabilities = capabilities,
|
||||
})
|
||||
|
||||
----------------------------------------------------------------
|
||||
lspconfig.ts_ls.setup({
|
||||
capabilities = capabilities,
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue