Attempting to add json (with comments) syntax highlighting .jsonc file extensions

This commit is contained in:
Brian Kroth 2023-10-03 17:18:14 -05:00
parent 94c055bcbd
commit d03c5bb90c

View file

@ -217,7 +217,7 @@ function getMode(): Promise<typeof mode> {
languages.register({
id: 'json',
extensions: ['.json', '.bowerrc', '.jshintrc', '.jscsrc', '.eslintrc', '.babelrc', '.har'],
extensions: ['.json', '.jsonc', '.bowerrc', '.jshintrc', '.jscsrc', '.eslintrc', '.babelrc', '.har'],
aliases: ['JSON', 'json'],
mimetypes: ['application/json']
});