feat(vim): display clippy diagnostics on save
This commit is contained in:
parent
9ff18b1688
commit
3f2964cfcb
1 changed files with 9 additions and 1 deletions
|
|
@ -20,7 +20,15 @@ local servers = {
|
|||
cmd = { "bundle", "exec", "solargraph", "stdio" },
|
||||
},
|
||||
-- Rust
|
||||
rust_analyzer = {},
|
||||
rust_analyzer = {
|
||||
settings = {
|
||||
["rust-analyzer"] = {
|
||||
checkOnSave = {
|
||||
command = "clippy",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
-- Lua for the vim config and plugin dev
|
||||
lua_ls = {
|
||||
settings = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue