summaryrefslogtreecommitdiffstats
path: root/dotfiles/vim-dev.lua
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/vim-dev.lua')
-rw-r--r--dotfiles/vim-dev.lua11
1 files changed, 10 insertions, 1 deletions
diff --git a/dotfiles/vim-dev.lua b/dotfiles/vim-dev.lua
index 126b615..dea1a8a 100644
--- a/dotfiles/vim-dev.lua
+++ b/dotfiles/vim-dev.lua
@@ -53,7 +53,16 @@ capabilities.textDocument.completion.completionItem.resolveSupport = {
53require("rust-tools").setup { 53require("rust-tools").setup {
54 server = { 54 server = {
55 cmd = { vim.g.rust_analyzer_path }, 55 cmd = { vim.g.rust_analyzer_path },
56 settings = { ["rust-analyzer"] = { checkOnSave = { command = "clippy" } } }, 56 settings = {
57 ["rust-analyzer"] = {
58 checkOnSave = {
59 command = "clippy",
60 },
61 experimental = {
62 procAttrMacros = true,
63 },
64 },
65 },
57 on_attach = on_attach, 66 on_attach = on_attach,
58 } 67 }
59} 68}