mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-13 08:50:11 -04:00
Zig queries: highlight, fold and indent
* fold for if/while/for * highlight "_" for ignore variable * highlight "c" for PtrTypeStart * highlight "?" for optional type * remove duplicate query node in indent
This commit is contained in:
parent
440b69f8d1
commit
f76737ee33
3 changed files with 17 additions and 5 deletions
|
|
@ -6,4 +6,11 @@
|
|||
(AsmExpr)
|
||||
(ErrorSetDecl)
|
||||
(LINESTRING)
|
||||
(
|
||||
[
|
||||
(IfPrefix)
|
||||
(WhilePrefix)
|
||||
(ForPrefix)
|
||||
]
|
||||
)
|
||||
] @fold
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue