make rust-analyzer run clippy

This commit is contained in:
LordMZTE 2022-03-22 12:14:50 +01:00
parent 9405d6a0d2
commit a4e4cea9f2
Signed by: LordMZTE
GPG key ID: B64802DC33A64FF6

View file

@ -15,7 +15,16 @@ lspc.html.setup { capabilities = caps }
lspc.jsonls.setup { capabilities = caps }
lspc.ocamllsp.setup { capabilities = caps }
lspc.prosemd_lsp.setup { capabilities = caps }
lspc.rust_analyzer.setup { capabilities = caps }
lspc.rust_analyzer.setup {
capabilities = caps,
settings = {
["rust-analyzer"] = {
checkOnSave = {
command = "clippy",
},
},
},
}
lspc.sumneko_lua.setup {
capabilities = caps,
settings = {