diff --git a/src/language-js/index.js b/src/language-js/index.js index b9e56159..adb09b57 100644 --- a/src/language-js/index.js +++ b/src/language-js/index.js @@ -146,7 +146,7 @@ const languages = [ "mcmod.info" ], linguistLanguageId: 174, - vscodeLanguageIds: ["json"] + vscodeLanguageIds: ["json", "jsonc"] }, { name: "JSON5", @@ -160,7 +160,7 @@ const languages = [ extensions: [".json5"], filenames: [".babelrc"], linguistLanguageId: 175, - vscodeLanguageIds: ["jsonc"] + vscodeLanguageIds: ["json5"] } ]; diff --git a/tests_integration/__tests__/__snapshots__/support-info.js.snap b/tests_integration/__tests__/__snapshots__/support-info.js.snap index 434d7ae4..7f5c4d35 100644 --- a/tests_integration/__tests__/__snapshots__/support-info.js.snap +++ b/tests_integration/__tests__/__snapshots__/support-info.js.snap @@ -547,7 +547,7 @@ exports[`CLI --support-info (stdout) 1`] = ` \\"parsers\\": [\\"json\\"], \\"since\\": \\"1.5.0\\", \\"tmScope\\": \\"source.json\\", - \\"vscodeLanguageIds\\": [\\"json\\"] + \\"vscodeLanguageIds\\": [\\"json\\", \\"jsonc\\"] }, { \\"aceMode\\": \\"css\\",