diff options
Diffstat (limited to 'nvim')
| -rw-r--r-- | nvim/lspconfig.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nvim/lspconfig.lua b/nvim/lspconfig.lua index 6d1d920..1314818 100644 --- a/nvim/lspconfig.lua +++ b/nvim/lspconfig.lua @@ -18,6 +18,9 @@ return { prefix = "self", }, cargo = { + allFeatures = true, + loadOutDirsFromCheck = true, + runBuildScripts = true, buildScripts = { enable = true, }, @@ -25,6 +28,11 @@ return { procMacro = { enable = true, }, + checkOnSave = { + allFeatures = true, + command = "clippy", + extraArgs = { "--no-deps" }, + }, }, }, }, |
