Fix Emmet abbreviation for Handlebars style blocks (#118832)
Co-authored-by: Abhijeet Joshi <abhjos@microsoft.com>
This commit is contained in:
parent
257fbae3f3
commit
b81cea2a35
|
@ -67,7 +67,7 @@ export class DefaultCompletionItemProvider implements vscode.CompletionItemProvi
|
||||||
const lsDoc = toLSTextDocument(document);
|
const lsDoc = toLSTextDocument(document);
|
||||||
position = document.validatePosition(position);
|
position = document.validatePosition(position);
|
||||||
|
|
||||||
if (document.languageId === 'html') {
|
if (syntax === 'html') {
|
||||||
if (context.triggerKind === vscode.CompletionTriggerKind.TriggerForIncompleteCompletions) {
|
if (context.triggerKind === vscode.CompletionTriggerKind.TriggerForIncompleteCompletions) {
|
||||||
switch (this.lastCompletionType) {
|
switch (this.lastCompletionType) {
|
||||||
case 'html':
|
case 'html':
|
||||||
|
|
Loading…
Reference in a new issue