feat(json): add support for jsonc files

This commit is contained in:
Christian Clason 2025-12-06 11:12:18 +01:00 committed by Christian Clason
parent d2350758b3
commit 9d47b2558b
5 changed files with 8 additions and 1 deletions

View file

@ -36,3 +36,5 @@
((escape_sequence) @conceal
(#eq? @conceal "\\\"")
(#set! conceal "\""))
(comment) @comment @spell

View file

@ -7,3 +7,5 @@
"}"
"]"
] @indent.branch
(comment) @indent.ignore

View file

@ -0,0 +1,2 @@
((comment) @injection.content
(#set! injection.language "comment"))