Don't assume VSCode internal commands in the server

This commit is contained in:
Lukas Wirth 2023-02-14 14:45:48 +01:00
parent 44568007d1
commit 95fa278f30
3 changed files with 8 additions and 1 deletions

View file

@ -1360,7 +1360,7 @@ pub(crate) mod command {
pub(crate) fn trigger_parameter_hints() -> lsp_types::Command {
lsp_types::Command {
title: "triggerParameterHints".into(),
command: "editor.action.triggerParameterHints".into(),
command: "rust-analyzer.triggerParameterHints".into(),
arguments: None,
}
}