From cfd141cff491efd4d91d68df41437f5e8d3764be Mon Sep 17 00:00:00 2001 From: lelgenio Date: Fri, 20 May 2022 21:09:25 -0300 Subject: [PATCH] lsp: RA use the same target dir to check --- dotfiles/kak-lsp.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dotfiles/kak-lsp.toml b/dotfiles/kak-lsp.toml index 19d6e59..388094c 100644 --- a/dotfiles/kak-lsp.toml +++ b/dotfiles/kak-lsp.toml @@ -189,7 +189,8 @@ filetypes = ["rust"] roots = ["rust-toolchain.toml", "rust-toolchain", "Cargo.toml"] command = "rust-analyzer" [language.rust.settings.rust-analyzer] -checkOnSave.extraArgs = ["--target-dir", "./target/check"] +## this can use too much space and processing power +# checkOnSave.extraArgs = ["--target-dir", "./target/check"] hoverActions.enable = false # kak-lsp doesn't support this at the moment # procMacro.enable = true # cargo.loadOutDirsFromCheck = true