nvimrc: Update rust_analyzer config
This commit is contained in:
parent
8582915d97
commit
9f91f1e6de
6
nvimrc
6
nvimrc
|
@ -766,6 +766,7 @@ nvim_lsp.gopls.setup{
|
|||
|
||||
-- Rust
|
||||
nvim_lsp.rust_analyzer.setup{
|
||||
capabilities = capabilities,
|
||||
on_attach = on_attach,
|
||||
settings = {
|
||||
["rust-analyzer"] = {
|
||||
|
@ -781,8 +782,11 @@ nvim_lsp.rust_analyzer.setup{
|
|||
},
|
||||
},
|
||||
procMacro = {
|
||||
enable = true
|
||||
enable = false,
|
||||
},
|
||||
diagnostics = {
|
||||
disabled = { "unresolved-proc-macro" },
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue