From 4527d63a652fdf323e623ebced47bc43484194da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= Date: Tue, 14 Dec 2021 13:57:31 +0900 Subject: [PATCH] fix: rust: disable unresolved-proc-macro Since we disabled proc macro expansion, disable the related info level lint: https://users.rust-lang.org/t/how-to-disable-rust-analyzer-proc-macro-warnings-in-neovim/53150/3 --- languages.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/languages.toml b/languages.toml index 428051a7..07b6dba9 100644 --- a/languages.toml +++ b/languages.toml @@ -11,6 +11,7 @@ indent = { tab-width = 4, unit = " " } [language.config] cargo = { loadOutDirsFromCheck = true } procMacro = { enable = false } +diagnostics = { disabled = ["unresolved-proc-macro"] } [[language]] name = "toml"