fix(rust-analyzer): enable additional diagnostics
This commit is contained in:
@@ -472,6 +472,18 @@ function M.setup()
|
|||||||
end),
|
end),
|
||||||
settings = {
|
settings = {
|
||||||
["rust-analyzer"] = {
|
["rust-analyzer"] = {
|
||||||
|
check = {
|
||||||
|
command = "clippy",
|
||||||
|
extraArgs = {
|
||||||
|
"--",
|
||||||
|
"-Wclippy::pedantic",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
diagnostics = {
|
||||||
|
styleLints = {
|
||||||
|
enable = true,
|
||||||
|
},
|
||||||
|
},
|
||||||
inlayHints = {
|
inlayHints = {
|
||||||
chainingHints = {
|
chainingHints = {
|
||||||
enable = false,
|
enable = false,
|
||||||
|
|||||||
Reference in New Issue
Block a user