mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 19:08:15 +00:00
fix(lsp): less agressive completion triggers (#17225)
Closes https://github.com/denoland/deno/issues/17056 Closes https://github.com/denoland/deno/issues/17055
This commit is contained in:
parent
218d7ab778
commit
98bbf87742
2 changed files with 5 additions and 13 deletions
|
@ -2007,6 +2007,10 @@ impl CompletionEntryDetails {
|
|||
documentation,
|
||||
command,
|
||||
additional_text_edits,
|
||||
// NOTE(bartlomieju): it's not entirely clear to me why we need to do that,
|
||||
// but when `completionItem/resolve` is called, we get a list of commit chars
|
||||
// even though we might have returned an empty list in `completion` request.
|
||||
commit_characters: None,
|
||||
..original_item.clone()
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue