diff options
| author | Brad Clawsie <brad@b7j0c.org> | 2023-04-12 16:25:23 -0500 |
|---|---|---|
| committer | Brad Clawsie <brad@b7j0c.org> | 2023-04-12 16:25:23 -0500 |
| commit | 5e68edd3b0a0edc5e02586fe6993654bc7ec7264 (patch) | |
| tree | 94a7b40ba81275564e31de678d4af4aa83bd80ef /nvim | |
| parent | 21c68324d80654f717aacb847c0b57b368eb8613 (diff) | |
clippy
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" }, + }, }, }, }, |
