queries: Odin or_break+or_continue keywords, struct indents

from https://github.com/tree-sitter-grammars/tree-sitter-odin/pull/25
pull/13925/head
connnnal 2025-07-08 15:16:31 +01:00 committed by Michael Davis
parent 9447a9cc93
commit 16d06643a4
2 changed files with 4 additions and 0 deletions

View File

@ -57,6 +57,7 @@
"case"
"where"
"break"
"or_break"
(fallthrough_statement)
] @keyword.control.conditional
@ -73,6 +74,7 @@
"for"
"do"
"continue"
"or_continue"
] @keyword.control.repeat
[

View File

@ -6,6 +6,7 @@
(struct)
(parameters)
(tuple_type)
(struct_type)
(call_expression)
(switch_case)
] @indent
@ -21,3 +22,4 @@
(union_declaration "}" @outdent)
(struct_declaration "}" @outdent)
(struct "}" @outdent)
(struct_type "}" @outdent)