This reverts commit 1f8b14f4f1
.
Release Notes:
- N/A
This commit is contained in:
parent
d81e7683ea
commit
c747cccde3
1 changed files with 1 additions and 2 deletions
|
@ -16980,8 +16980,7 @@ fn snippet_completions(
|
||||||
new_text: snippet.body.clone(),
|
new_text: snippet.body.clone(),
|
||||||
source: CompletionSource::Lsp {
|
source: CompletionSource::Lsp {
|
||||||
server_id: LanguageServerId(usize::MAX),
|
server_id: LanguageServerId(usize::MAX),
|
||||||
// Despite usize::MAX server_id above, snippets may need to be resolved
|
resolved: true,
|
||||||
resolved: false,
|
|
||||||
lsp_completion: Box::new(lsp::CompletionItem {
|
lsp_completion: Box::new(lsp::CompletionItem {
|
||||||
label: snippet.prefix.first().unwrap().clone(),
|
label: snippet.prefix.first().unwrap().clone(),
|
||||||
kind: Some(CompletionItemKind::SNIPPET),
|
kind: Some(CompletionItemKind::SNIPPET),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue