Update new query and parser for zig

This commit is contained in:
maxxnino 2021-08-08 18:54:24 +09:00 committed by Stephan Seitz
parent 1e19898703
commit 9b265c9c4c
6 changed files with 225 additions and 228 deletions

View file

@ -1,19 +1,9 @@
[
(block)
(comptime_block)
(defer_block)
(suspend_block)
(resume_block)
(if_expression)
(while_expression)
(for_expression)
(test_expression)
(struct_expression)
(struct_construction)
(anonymous_struct_enum)
(anonymous_array_expr)
(enum_expression)
(union_expression)
; BUG: why function block not indent
(Block)
(ContainerDecl)
(SwitchExpr)
(InitList)
] @indent
[
@ -27,5 +17,7 @@
[
(line_comment)
(multiline_string_literal)
(container_doc_comment)
(doc_comment)
(STRINGLITERAL)
] @ignore