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
41
runtime/queries/ziggy/highlights.scm
Normal file
41
runtime/queries/ziggy/highlights.scm
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
[
|
||||
(true)
|
||||
(false)
|
||||
] @constant.builtin
|
||||
|
||||
(null) @constant.builtin
|
||||
|
||||
[
|
||||
(integer)
|
||||
(float)
|
||||
] @number
|
||||
|
||||
(struct_field
|
||||
key: (_) @keyword)
|
||||
|
||||
(struct
|
||||
name: (_) @type)
|
||||
|
||||
(tag) @function
|
||||
|
||||
[
|
||||
(string)
|
||||
(line_string)*
|
||||
] @string
|
||||
|
||||
(comment) @comment
|
||||
|
||||
(escape_sequence) @string.escape
|
||||
|
||||
"," @punctuation.delimiter
|
||||
|
||||
[
|
||||
"["
|
||||
"]"
|
||||
"{"
|
||||
"}"
|
||||
"("
|
||||
")"
|
||||
] @punctuation.bracket
|
||||
|
||||
(top_comment) @comment
|
||||
10
runtime/queries/ziggy/indents.scm
Normal file
10
runtime/queries/ziggy/indents.scm
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
[
|
||||
(struct)
|
||||
(map)
|
||||
(array)
|
||||
] @indent.begin
|
||||
|
||||
[
|
||||
"]"
|
||||
"}"
|
||||
] @indent.end
|
||||
Loading…
Add table
Add a link
Reference in a new issue