mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-05 04:50:03 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
c13e28f894
commit
2c8f2f2fad
829 changed files with 4905 additions and 8010 deletions
1
runtime/queries/hjson/folds.scm
Normal file
1
runtime/queries/hjson/folds.scm
Normal file
|
|
@ -0,0 +1 @@
|
|||
; inherits: json
|
||||
16
runtime/queries/hjson/highlights.scm
Normal file
16
runtime/queries/hjson/highlights.scm
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
(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)
|
||||
(ERROR) @error
|
||||
; "," @punctuation.delimiter
|
||||
"[" @punctuation.bracket
|
||||
"]" @punctuation.bracket
|
||||
"{" @punctuation.bracket
|
||||
"}" @punctuation.bracket
|
||||
|
||||
(comment) @comment
|
||||
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