lsp: Add partial support for insert/replace completions (#9634)
Most notably, this should do away with completions overriding the whole word around completion trigger text. Fixes: #4816 Release Notes: - Fixed code completions overriding text around the cursor.
This commit is contained in:
parent
6184278faf
commit
e20508f66c
2 changed files with 14 additions and 3 deletions
|
@ -590,6 +590,7 @@ impl LanguageServer {
|
|||
"additionalTextEdits".to_string(),
|
||||
],
|
||||
}),
|
||||
insert_replace_support: Some(true),
|
||||
..Default::default()
|
||||
}),
|
||||
completion_list: Some(CompletionListCapability {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue