Avoid real-time rust analyzer
This commit is contained in:
parent
62dbab2600
commit
6fa3768d6d
1 changed files with 7 additions and 2 deletions
|
@ -18,10 +18,15 @@ if next(config) then
|
||||||
settings = {
|
settings = {
|
||||||
["rust-analyzer"] = {
|
["rust-analyzer"] = {
|
||||||
checkOnSave = {
|
checkOnSave = {
|
||||||
command = "clippy"
|
command = "clippy",
|
||||||
|
enable = true
|
||||||
|
},
|
||||||
|
diagnostics = {
|
||||||
|
enable = false,
|
||||||
},
|
},
|
||||||
check = {
|
check = {
|
||||||
command = "check"
|
command = "check",
|
||||||
|
extraArgs = {"--all-features"}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue