diff --git a/src/parser.lua b/src/parser.lua index ea436a4..936f4d5 100644 --- a/src/parser.lua +++ b/src/parser.lua @@ -96,6 +96,7 @@ function M.extract_variables(content) brace_depth = brace_depth - 1 elseif c == ":" and brace_depth == 0 then type_start = i + break -- Only take the first : outside braces end end local var_data_type = "unknown"