nvimrc: Update rust_analyzer config

This commit is contained in:
Rob Watson 2023-02-28 17:18:17 +01:00
parent 8582915d97
commit 9f91f1e6de
1 changed files with 5 additions and 1 deletions

6
nvimrc
View File

@ -766,6 +766,7 @@ nvim_lsp.gopls.setup{
-- Rust -- Rust
nvim_lsp.rust_analyzer.setup{ nvim_lsp.rust_analyzer.setup{
capabilities = capabilities,
on_attach = on_attach, on_attach = on_attach,
settings = { settings = {
["rust-analyzer"] = { ["rust-analyzer"] = {
@ -781,8 +782,11 @@ nvim_lsp.rust_analyzer.setup{
}, },
}, },
procMacro = { procMacro = {
enable = true enable = false,
}, },
diagnostics = {
disabled = { "unresolved-proc-macro" },
}
} }
} }
} }