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:
maxxnino 2021-09-20 17:58:15 +09:00 committed by Stephan Seitz
parent 440b69f8d1
commit f76737ee33
3 changed files with 17 additions and 5 deletions

View file

@ -6,4 +6,11 @@
(AsmExpr)
(ErrorSetDecl)
(LINESTRING)
(
[
(IfPrefix)
(WhilePrefix)
(ForPrefix)
]
)
] @fold