mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
310f0925ec
commit
692b051b09
1247 changed files with 6096 additions and 9074 deletions
1
runtime/queries/hjson/folds.scm
Normal file
1
runtime/queries/hjson/folds.scm
Normal file
|
|
@ -0,0 +1 @@
|
|||
; inherits: json
|
||||
28
runtime/queries/hjson/highlights.scm
Normal file
28
runtime/queries/hjson/highlights.scm
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
(true) @boolean
|
||||
|
||||
(false) @boolean
|
||||
|
||||
(null) @constant.builtin
|
||||
|
||||
(number) @number
|
||||
|
||||
(pair
|
||||
key: (string) @label)
|
||||
|
||||
(pair
|
||||
value: (string) @string)
|
||||
|
||||
(array
|
||||
(string) @string)
|
||||
|
||||
; (string_content (escape_sequence) @string.escape)
|
||||
; "," @punctuation.delimiter
|
||||
"[" @punctuation.bracket
|
||||
|
||||
"]" @punctuation.bracket
|
||||
|
||||
"{" @punctuation.bracket
|
||||
|
||||
"}" @punctuation.bracket
|
||||
|
||||
(comment) @comment @spell
|
||||
3
runtime/queries/hjson/indents.scm
Normal file
3
runtime/queries/hjson/indents.scm
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
; inherits: json
|
||||
|
||||
(comment) @indent.ignore
|
||||
2
runtime/queries/hjson/injections.scm
Normal file
2
runtime/queries/hjson/injections.scm
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
((comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
1
runtime/queries/hjson/locals.scm
Normal file
1
runtime/queries/hjson/locals.scm
Normal file
|
|
@ -0,0 +1 @@
|
|||
; inherits: json
|
||||
Loading…
Add table
Add a link
Reference in a new issue