fix: configure rust clippy lsp
This commit is contained in:
parent
a6476a94fb
commit
d946d36f1a
@ -66,6 +66,14 @@ M.server_settings = {
|
||||
-- library = vim.api.nvim_get_runtime_file("", true)
|
||||
-- },
|
||||
}
|
||||
},
|
||||
|
||||
rust_analyzer = {
|
||||
["rust-analyzer"] = {
|
||||
checkOnSave = {
|
||||
command = "clippy"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -148,4 +156,3 @@ if packer_plugins['nvim-lsp-installer'] and packer_plugins['nvim-lsp-installer']
|
||||
end
|
||||
|
||||
return M
|
||||
|
||||
|
@ -100,4 +100,3 @@ opt('softtabstop', tab_size, buffer)
|
||||
-- Place splits below and to the right by default
|
||||
opt('splitbelow', true)
|
||||
opt('splitright', true)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user