Skip to content

Commit

Permalink
fix: rust: disable unresolved-proc-macro
Browse files Browse the repository at this point in the history
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
  • Loading branch information
archseer committed Dec 14, 2021
1 parent e188926 commit 4527d63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 4527d63

Please sign in to comment.