Skip to content

Commit df769f9

Browse files
authored
feat(JSON): support .jsonc extension (#1022)
JSONC is JSON with comments. The JSON lexer already supports comments.
1 parent 539d031 commit df769f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lexers/embedded/json.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<name>JSON</name>
44
<alias>json</alias>
55
<filename>*.json</filename>
6+
<filename>*.jsonc</filename>
67
<filename>*.avsc</filename>
78
<mime_type>application/json</mime_type>
89
<dot_all>true</dot_all>
@@ -108,4 +109,4 @@
108109
</rule>
109110
</state>
110111
</rules>
111-
</lexer>
112+
</lexer>

0 commit comments

Comments
 (0)