Skip to content

Commit

Permalink
support multiple languageID's (#390)
Browse files Browse the repository at this point in the history
  • Loading branch information
lifeart authored Jul 2, 2022
1 parent c2def00 commit 83651b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/glimmer-template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export function getFocusPath(
return null;
}

const isHBS = ext === '.hbs' || document.languageId === 'handlebars';
const isHBS = ext === '.hbs' || document.languageId === 'html' || document.languageId === 'handlebars' || document.languageId === 'html.handlebars';

const originalText = isHBS
? documentContent
Expand Down

0 comments on commit 83651b4

Please # to comment.