fix(neovim/lsp): configure rust-analyzer to have it's own profile and use check instead of clipper

This commit is contained in:
Alexandre Cavalheiro 2025-01-09 13:11:46 -03:00
parent 92f64583a8
commit b8a932d0ed
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF

View file

@ -113,6 +113,17 @@ in
},
},
},
rust_analyzer = {
settings = {
["rust-analyzer"] = {
cargo = {
extraEnv = { CARGO_PROFILE_RUST_ANALYZER_INHERITS = "dev" },
extraArgs = { "--profile", "rust-analyzer" },
},
check = { command = "check", extraArgs = {} },
},
}
}
},
-- customize how language servers are attached
handlers = {