Skip to content

Commit

Permalink
Lang=ts, fix #111
Browse files Browse the repository at this point in the history
  • Loading branch information
octref committed Apr 17, 2017
1 parent 88ea434 commit b268bc9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/src/modes/embeddedSupport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ function getLanguageIdFromLangAttr(lang: string): string {
let languageIdFromType = removeQuotes(lang);
if (languageIdFromType === 'jade') {
languageIdFromType = 'pug';
} if (languageIdFromType === 'ts') {
languageIdFromType = 'typescript';
}
return languageIdFromType;
}
Expand Down

0 comments on commit b268bc9

Please sign in to comment.