nvim-treesitter/queries/zig/indents.scm
maxxnino 2f73d7c0a8 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-08-23 08:15:07 +02:00

23 lines
222 B
Scheme

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