mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-12 16:30:02 -04:00
Add support for json5
This commit is contained in:
parent
a76dbe7335
commit
d8595fb923
5 changed files with 31 additions and 0 deletions
17
queries/json5/highlights.scm
Normal file
17
queries/json5/highlights.scm
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
[
|
||||
"true"
|
||||
"false"
|
||||
] @boolean
|
||||
|
||||
"null" @constant
|
||||
|
||||
(member
|
||||
name: (_) @keyword)
|
||||
|
||||
(string) @string
|
||||
|
||||
(number) @number
|
||||
|
||||
(comment) @comment
|
||||
|
||||
(ERROR) @error
|
||||
1
queries/json5/injections.scm
Normal file
1
queries/json5/injections.scm
Normal file
|
|
@ -0,0 +1 @@
|
|||
(comment) @comment
|
||||
Loading…
Add table
Add a link
Reference in a new issue