nvim-treesitter/queries/zig/indents.scm
maxxnino b52cccf899 highlight(zig): rework query
* improve query performance 120ms -> 6ms
 * correct highlight for field, type and function
 * add highlight for escape/format sequence in string
2021-09-17 21:06:36 +02:00

23 lines
222 B
Scheme

[
(Block)
(ContainerDecl)
(SwitchExpr)
(InitList)
(ContainerDecl)
] @indent
[
"("
")"
"["
"]"
"{"
"}"
] @branch
[
(line_comment)
(container_doc_comment)
(doc_comment)
(LINESTRING)
] @ignore