From c5c1630d8533136e20bfdc72d1846c4ef87a0c9e Mon Sep 17 00:00:00 2001 From: chemzqm Date: Wed, 31 Oct 2018 21:32:16 +0800 Subject: [PATCH] use javascriptreact as languageId for jsx --- src/server/utils/languageModeIds.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/utils/languageModeIds.ts b/src/server/utils/languageModeIds.ts index 925fbd4..e2bdc8d 100644 --- a/src/server/utils/languageModeIds.ts +++ b/src/server/utils/languageModeIds.ts @@ -8,7 +8,7 @@ export const typescriptreact = 'typescriptreact' export const typescripttsx = 'typescript.tsx' export const typescriptjsx = 'typescript.jsx' export const javascript = 'javascript' -export const javascriptreact = 'javascript.jsx' +export const javascriptreact = 'javascriptreact' export const jsxTags = 'jsx-tags' export const languageIds = [typescript, typescriptreact, javascript, javascriptreact, typescripttsx, jsxTags]