From 03e57b362d7169b21d00c89884d90a111031af0f Mon Sep 17 00:00:00 2001 From: MattrHermanson Date: Tue, 25 Aug 2026 21:05:02 -0700 Subject: [PATCH] fix(chunk): update Zig AST node names to snake_case --- lua/hlchunk/utils/ts_node_type/zig.lua | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/lua/hlchunk/utils/ts_node_type/zig.lua b/lua/hlchunk/utils/ts_node_type/zig.lua index 824881c..d62b0b0 100644 --- a/lua/hlchunk/utils/ts_node_type/zig.lua +++ b/lua/hlchunk/utils/ts_node_type/zig.lua @@ -1,13 +1,15 @@ return { - ["Block"] = true, - ["ContainerDecl"] = true, - ["FnCallArguments"] = true, - ["IfStatement"] = true, - ["IfExpr"] = true, - ["SwitchExpr"] = true, - ["LoopStatement"] = true, - ["FieldInit"] = true, - ["InitList"] = true, - ["SuffixExpr"] = true, - ["BinaryExpr"] = true, + block = true, + if_statement = true, + while_statement = true, + for_statement = true, + switch_expression = true, + defer_statement = true, + fn_call_arguments = true, + init_list = true, + function_declaration = true, + struct_declaration = true, + enum_declaration = true, + union_declaration = true, + error_set_declaration = true, }