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
38
runtime/queries/ziggy_schema/highlights.scm
Normal file
38
runtime/queries/ziggy_schema/highlights.scm
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
(struct_field
|
||||
key: (_) @keyword)
|
||||
|
||||
(tag_name) @function
|
||||
|
||||
[
|
||||
"unknown"
|
||||
"any"
|
||||
"struct"
|
||||
"root"
|
||||
"enum"
|
||||
"map"
|
||||
] @keyword
|
||||
|
||||
(identifier) @type
|
||||
|
||||
"?" @type
|
||||
|
||||
[
|
||||
"bool"
|
||||
"bytes"
|
||||
"int"
|
||||
"float"
|
||||
] @constant.builtin
|
||||
|
||||
(doc_comment) @comment.documentation
|
||||
|
||||
[
|
||||
","
|
||||
"|"
|
||||
] @punctuation.delimiter
|
||||
|
||||
[
|
||||
"["
|
||||
"]"
|
||||
"{"
|
||||
"}"
|
||||
] @punctuation.bracket
|
||||
3
runtime/queries/ziggy_schema/indents.scm
Normal file
3
runtime/queries/ziggy_schema/indents.scm
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
(struct) @indent.begin
|
||||
|
||||
"}" @indent.end
|
||||
Loading…
Add table
Add a link
Reference in a new issue