mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 11:35:40 +01:00
Attempting to add json (with comments) syntax highlighting .jsonc file extensions
This commit is contained in:
parent
94c055bcbd
commit
d03c5bb90c
1 changed files with 1 additions and 1 deletions
|
|
@ -217,7 +217,7 @@ function getMode(): Promise<typeof mode> {
|
||||||
|
|
||||||
languages.register({
|
languages.register({
|
||||||
id: 'json',
|
id: 'json',
|
||||||
extensions: ['.json', '.bowerrc', '.jshintrc', '.jscsrc', '.eslintrc', '.babelrc', '.har'],
|
extensions: ['.json', '.jsonc', '.bowerrc', '.jshintrc', '.jscsrc', '.eslintrc', '.babelrc', '.har'],
|
||||||
aliases: ['JSON', 'json'],
|
aliases: ['JSON', 'json'],
|
||||||
mimetypes: ['application/json']
|
mimetypes: ['application/json']
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue