mirror of
https://github.com/helix-editor/helix.git
synced 2025-10-06 00:13:28 +02:00
queries: Odin or_break+or_continue keywords, struct indents
from https://github.com/tree-sitter-grammars/tree-sitter-odin/pull/25
This commit is contained in:
@@ -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
|
||||
|
||||
[
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user