1
0

fix: configure rust clippy lsp

This commit is contained in:
Rokas Puzonas 2022-04-01 22:21:20 +03:00
parent a6476a94fb
commit d946d36f1a
2 changed files with 8 additions and 2 deletions

View File

@ -66,6 +66,14 @@ M.server_settings = {
-- library = vim.api.nvim_get_runtime_file("", true) -- 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 end
return M return M

View File

@ -100,4 +100,3 @@ opt('softtabstop', tab_size, buffer)
-- Place splits below and to the right by default -- Place splits below and to the right by default
opt('splitbelow', true) opt('splitbelow', true)
opt('splitright', true) opt('splitright', true)