summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dotfiles/vim-dev.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/dotfiles/vim-dev.lua b/dotfiles/vim-dev.lua
index 5c971e3..5f32244 100644
--- a/dotfiles/vim-dev.lua
+++ b/dotfiles/vim-dev.lua
@@ -49,6 +49,7 @@ capabilities.textDocument.completion.completionItem.resolveSupport = {
49require("rust-tools").setup { 49require("rust-tools").setup {
50 server = { 50 server = {
51 cmd = { vim.g.rust_analyzer_path }, 51 cmd = { vim.g.rust_analyzer_path },
52 settings = { ["rust-analyzer"] = { checkOnSave = { command = "clippy" } } },
52 on_attach = on_attach, 53 on_attach = on_attach,
53 } 54 }
54} 55}