Add Rust™ LSP support for Neovim
This commit is contained in:
parent
986e9f7555
commit
3c352c0562
2 changed files with 12 additions and 0 deletions
11
users/hu/packages/nvim/config/lua/plugins/lsp/rust.lua
Normal file
11
users/hu/packages/nvim/config/lua/plugins/lsp/rust.lua
Normal file
|
@ -0,0 +1,11 @@
|
|||
return function()
|
||||
require"lspconfig".rust_analyzer.setup {
|
||||
settings = {
|
||||
["rust-analyzer"] = {
|
||||
diagnostics = {
|
||||
enable = false,
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
end
|
|
@ -13,6 +13,7 @@
|
|||
nil
|
||||
gcc
|
||||
basedpyright
|
||||
rust-analyzer
|
||||
];
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue