mirror of https://github.com/helix-editor/helix
queries: Odin or_break+or_continue keywords, struct indents
from https://github.com/tree-sitter-grammars/tree-sitter-odin/pull/25pull/13925/head
parent
9447a9cc93
commit
16d06643a4
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue