neovim: Check Rust code with clippy
This commit is contained in:
parent
a348810adc
commit
49397e957e
1 changed files with 7 additions and 1 deletions
|
|
@ -375,7 +375,13 @@ lsp_installer.setup({})
|
||||||
local lsp_settings = {
|
local lsp_settings = {
|
||||||
gopls = {},
|
gopls = {},
|
||||||
jedi_language_server = {},
|
jedi_language_server = {},
|
||||||
rust_analyzer = {},
|
rust_analyzer = {
|
||||||
|
["rust-analyzer"] = {
|
||||||
|
checkOnSave = {
|
||||||
|
command = "clippy",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
solargraph = {},
|
solargraph = {},
|
||||||
tsserver = {},
|
tsserver = {},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue