fix(neovim/lsp): configure rust-analyzer to have it's own profile and use check instead of clipper
This commit is contained in:
parent
92f64583a8
commit
b8a932d0ed
|
@ -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
|
-- customize how language servers are attached
|
||||||
handlers = {
|
handlers = {
|
||||||
|
|
Loading…
Reference in a new issue