mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +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,
|
capabilities = capabilities,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
----------------------------------------------------------------
|
||||||
|
lspconfig.rust_analyzer.setup({
|
||||||
|
capabilities = capabilities,
|
||||||
|
})
|
||||||
|
|
||||||
----------------------------------------------------------------
|
----------------------------------------------------------------
|
||||||
lspconfig.ts_ls.setup({
|
lspconfig.ts_ls.setup({
|
||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue