mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 03:40:04 -04:00
Update new query and parser for zig
This commit is contained in:
parent
1e19898703
commit
9b265c9c4c
6 changed files with 225 additions and 228 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue