fix(json): jsonc is considered JSON instead of JSON5 (#4374)
* fix(json): jsonc in consider JSON instead of JSON5 * feat: add json5 idmaster
parent
c37861d08b
commit
9cc5d4f162
|
@ -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"]
|
||||
}
|
||||
];
|
||||
|
||||
|
|
|
@ -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\\",
|
||||
|
|
Loading…
Reference in New Issue