From 9f91f1e6ded62b24fe34a43d2a5196814dcbc1e6 Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Tue, 28 Feb 2023 17:18:17 +0100 Subject: [PATCH] nvimrc: Update rust_analyzer config --- nvimrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nvimrc b/nvimrc index d0eb338..674b868 100644 --- a/nvimrc +++ b/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" }, + } } } }