diff --git a/src/languageFeatures.ts b/src/languageFeatures.ts index 1915e30a..2a9a869e 100644 --- a/src/languageFeatures.ts +++ b/src/languageFeatures.ts @@ -185,10 +185,7 @@ export class CompletionAdapter insertText: item.insertText ?? (typeof item.label === 'string' ? item.label : item.label.label), - range: item.range ?? wordRange, - insertTextRules: - item.insertTextRules ?? - languages.CompletionItemInsertTextRule.InsertAsSnippet + range: item.range ?? wordRange }) );