diff --git a/extensions/emmet/src/util.ts b/extensions/emmet/src/util.ts index ad6c82e7803..81ccb506ace 100644 --- a/extensions/emmet/src/util.ts +++ b/extensions/emmet/src/util.ts @@ -16,8 +16,6 @@ export const LANGUAGE_MODES: Object = { 'haml': ['!', '.', '}'], 'xml': ['.', '}'], 'xsl': ['.', '}'], - 'javascriptreact': ['.'], - 'typescriptreact': ['.'], 'css': [':'], 'scss': [':'], 'sass': [':'], @@ -25,7 +23,7 @@ export const LANGUAGE_MODES: Object = { 'stylus': [':'] }; -// Explicitly map languages to their parent language to get emmet support +// Explicitly map languages to their parent language to get emmet completion support export const MAPPED_MODES: Object = { 'handlebars': 'html' }; @@ -45,9 +43,6 @@ export function getSyntax(document: vscode.TextDocument): string { if (document.languageId === 'jade') { return 'pug'; } - if (document.languageId === 'javascriptreact' || document.languageId === 'typescriptreact') { - return 'jsx'; - } return document.languageId; }