kak-lsp: fix multi-instance rust-analyzer
This commit is contained in:
parent
06158f6b9a
commit
8f7398735f
1 changed files with 4 additions and 12 deletions
|
|
@ -121,21 +121,13 @@ stubs = [
|
|||
[language_server.rust-analyzer]
|
||||
filetypes = ["rust"]
|
||||
roots = ["Cargo.toml"]
|
||||
command = "sh"
|
||||
args = [
|
||||
"-c",
|
||||
"""
|
||||
if path=$(rustup which rust-analyzer 2>/dev/null); then
|
||||
"$path"
|
||||
else
|
||||
rust-analyzer
|
||||
fi
|
||||
""",
|
||||
]
|
||||
command = "rust-analyzer"
|
||||
single_instance = false
|
||||
|
||||
[language_server.rust-analyzer.settings.rust-analyzer]
|
||||
# See https://rust-analyzer.github.io/manual.html#configuration
|
||||
# cargo.features = []
|
||||
checkOnSave.command = "clippy"
|
||||
check.command = "clippy"
|
||||
hoverActions.enable = false # kak-lsp doesn't support this at the moment
|
||||
|
||||
[language_server.godot]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue