; Adapted from helix (https://github.com/helix-editor/helix) at 278b24389: ; runtime/queries/zig/indents.scm, MODIFIED for the zig grammar pardes ; builds (maxxnino/tree-sitter-zig), whose node names differ from the ; tree-sitter-grammars one helix uses: block is Block, switch_expression ; SwitchExpr, initializer_list InitList, error_set_declaration ErrorSetDecl, ; and struct/enum/union_declaration are one ContainerDecl. ; Licensed under the Mozilla Public License 2.0 (vendor/queries/helix.LICENSE, ; https://mozilla.org/MPL/2.0/). [ (Block) (SwitchExpr) (InitList) (ContainerDecl) (ErrorSetDecl) ] @indent [ "}" "]" ")" ] @outdent