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 = {
|
||||
gopls = {},
|
||||
jedi_language_server = {},
|
||||
rust_analyzer = {},
|
||||
rust_analyzer = {
|
||||
["rust-analyzer"] = {
|
||||
checkOnSave = {
|
||||
command = "clippy",
|
||||
},
|
||||
},
|
||||
},
|
||||
solargraph = {},
|
||||
tsserver = {},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue