Using custom ra-dir

This commit is contained in:
Miguel Palhas
2025-03-16 07:44:00 +00:00
parent dacb52b210
commit 1f5c4b56ed
+5 -5
View File
@@ -58,20 +58,20 @@ end
M.rustacean = {
server = {
cmd = function()
return { "/home/naps62/.cargo/bin/rust-analyzer", "--target-dir", "/target.rust-analyzer" }
end,
-- cmd = function()
-- return { "ra-multiplex" }
-- end,
on_init = nvlsp.on_init,
capabilities = nvlsp.capabilities,
default_settings = {
["rust-analyzer"] = {
checkOnSave = {
command = "clippy",
targetDir = "/target.rust-analyzer",
targetDir = true,
},
cargo = {
allFeatures = true,
targetDir = "/target.rust-analyzer",
targetDir = true,
},
},
},