mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-07-13 19:04:36 +02:00
fix(rust): disable proc-macro-disabled diagnostic
The default config disables a bunch of proc macros, but that causes a huge diagnostic to be shown by default for those proc macros. This disables that diagnostic by default. Related - https://github.com/rust-lang/rust-analyzer/issues/18414 - https://github.com/mrcjkb/rustaceanvim/discussions/482 - https://github.com/LazyVim/LazyVim/discussions/5638
This commit is contained in:
parent
25abbf546d
commit
4f2d34436a
1 changed files with 3 additions and 0 deletions
|
@ -83,6 +83,9 @@ return {
|
|||
-- Enable diagnostics if using rust-analyzer
|
||||
diagnostics = {
|
||||
enable = diagnostics == "rust-analyzer",
|
||||
disabled = {
|
||||
"proc-macro-disabled",
|
||||
},
|
||||
},
|
||||
procMacro = {
|
||||
enable = true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue