mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-10 07:20:06 -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
5
runtime/queries/json/folds.scm
Normal file
5
runtime/queries/json/folds.scm
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
[
|
||||
(pair)
|
||||
(object)
|
||||
(array)
|
||||
] @fold
|
||||
38
runtime/queries/json/highlights.scm
Normal file
38
runtime/queries/json/highlights.scm
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
[
|
||||
(true)
|
||||
(false)
|
||||
] @boolean
|
||||
|
||||
(null) @constant.builtin
|
||||
|
||||
(number) @number
|
||||
|
||||
(pair
|
||||
key: (string) @property)
|
||||
|
||||
(pair
|
||||
value: (string) @string)
|
||||
|
||||
(array
|
||||
(string) @string)
|
||||
|
||||
[
|
||||
","
|
||||
":"
|
||||
] @punctuation.delimiter
|
||||
|
||||
[
|
||||
"["
|
||||
"]"
|
||||
"{"
|
||||
"}"
|
||||
] @punctuation.bracket
|
||||
|
||||
("\"" @conceal
|
||||
(#set! conceal ""))
|
||||
|
||||
(escape_sequence) @string.escape
|
||||
|
||||
((escape_sequence) @conceal
|
||||
(#eq? @conceal "\\\"")
|
||||
(#set! conceal "\""))
|
||||
9
runtime/queries/json/indents.scm
Normal file
9
runtime/queries/json/indents.scm
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
[
|
||||
(object)
|
||||
(array)
|
||||
] @indent.begin
|
||||
|
||||
[
|
||||
"}"
|
||||
"]"
|
||||
] @indent.branch
|
||||
4
runtime/queries/json/locals.scm
Normal file
4
runtime/queries/json/locals.scm
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
[
|
||||
(object)
|
||||
(array)
|
||||
] @local.scope
|
||||
Loading…
Add table
Add a link
Reference in a new issue