feat(vim): display clippy diagnostics on save

This commit is contained in:
Ade Attwood 2024-09-04 19:11:04 +01:00
parent 9ff18b1688
commit 3f2964cfcb

View file

@ -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 = {