[LSP] Finish rust_analyzer setup
This commit is contained in:
1 parent
acb285c118
commit
877b59d5c5
1 file changed
+4
-2
@@ -49,14 +49,16 @@ return {
|
||||
-- ┌ ┐
|
||||
-- │ Rust │
|
||||
-- └ ┘
|
||||
vim.lsp.config("rust_analyzer", {
|
||||
lspconfig.rust_analyzer.setup({
|
||||
settings = {
|
||||
["rust-analyzer"] = {
|
||||
diagnostics = {
|
||||
enable = false,
|
||||
enable = true,
|
||||
},
|
||||
},
|
||||
},
|
||||
capabilities = capabilities,
|
||||
on_attach = on_attach,
|
||||
})
|
||||
|
||||
-- ┌ ┐
|
||||
|
||||
Reference in new issue
Block a user