diff options
author | Raymond Zhao <7199958+rzhao271@users.noreply.github.com> | 2022-07-12 19:15:01 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-12 19:15:01 +0300 |
commit | d627aa4606faee226be5a0b508a634b30f877ac6 (patch) | |
tree | 1971dc5d743944c95238325d33f8ce1e3f8f79e5 /extensions | |
parent | 56ae202f830e1c98221e2842d189c18434d75e45 (diff) |
Emmet: Add back trigger character arguments (#154940)
Fixes #154375
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/emmet/src/emmetCommon.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/emmet/src/emmetCommon.ts b/extensions/emmet/src/emmetCommon.ts index fc81dd9d7ed..daed62d7c65 100644 --- a/extensions/emmet/src/emmetCommon.ts +++ b/extensions/emmet/src/emmetCommon.ts @@ -204,7 +204,7 @@ function refreshCompletionProviders(_: vscode.ExtensionContext) { completionProviderDisposables.push(inlineCompletionsProvider); } - const explicitProvider = vscode.languages.registerCompletionItemProvider({ language, scheme: '*' }, completionProvider); + const explicitProvider = vscode.languages.registerCompletionItemProvider({ language, scheme: '*' }, completionProvider, ...LANGUAGE_MODES[includedLanguages[language]]); completionProviderDisposables.push(explicitProvider); languageMappingForCompletionProviders.set(language, includedLanguages[language]); @@ -217,7 +217,7 @@ function refreshCompletionProviders(_: vscode.ExtensionContext) { completionProviderDisposables.push(inlineCompletionsProvider); } - const explicitProvider = vscode.languages.registerCompletionItemProvider({ language, scheme: '*' }, completionProvider); + const explicitProvider = vscode.languages.registerCompletionItemProvider({ language, scheme: '*' }, completionProvider, ...LANGUAGE_MODES[language]); completionProviderDisposables.push(explicitProvider); languageMappingForCompletionProviders.set(language, language); |