Add "JSON with comments" to vscodeLanguageIds (#3496)

master
Georgii Dolzhykov 2017-12-16 02:45:51 +02:00 committed by Lucas Azzola
parent b778df4fc2
commit 5c6b93a654
2 changed files with 3 additions and 2 deletions

View File

@ -145,7 +145,7 @@ const supportTable = [
"mcmod.info" "mcmod.info"
], ],
linguistLanguageId: 174, linguistLanguageId: 174,
vscodeLanguageIds: ["json"] vscodeLanguageIds: ["json", "jsonc"]
}, },
{ {

View File

@ -197,6 +197,7 @@ Object {
"tmScope": "source.json", "tmScope": "source.json",
"vscodeLanguageIds": Array [ "vscodeLanguageIds": Array [
"json", "json",
"jsonc",
], ],
}, },
Object { Object {
@ -526,7 +527,7 @@ exports[`CLI --support-info (stdout) 1`] = `
\\"mcmod.info\\" \\"mcmod.info\\"
], ],
\\"linguistLanguageId\\": 174, \\"linguistLanguageId\\": 174,
\\"vscodeLanguageIds\\": [\\"json\\"] \\"vscodeLanguageIds\\": [\\"json\\", \\"jsonc\\"]
}, },
{ {
\\"name\\": \\"Markdown\\", \\"name\\": \\"Markdown\\",