mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-25 10:56:19 +04:00
9cdc6b2e8a
* Change Odin grammar to `ap29600/tree-sitter-odin` The previously adopted grammar, `MineBill/tree-sitter-odin`, is unmaintained and mentions my repository as an alternative source. * update queries * docgen * fix queries * Update runtime/queries/odin/highlights.scm Co-authored-by: Michael Davis <mcarsondavis@gmail.com> * remove `ERROR` query for `odin` * track the latest rev in `ap29600/tree-sitter-odin` * runtime/queries/odin/highlights.scm: update rune highlight class Co-authored-by: Michael Davis <mcarsondavis@gmail.com> --------- Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
17 lines
180 B
Scheme
17 lines
180 B
Scheme
[
|
|
(foreign_block)
|
|
(block)
|
|
(compound_literal)
|
|
(proc_call)
|
|
(assignment_statement)
|
|
(const_declaration)
|
|
(var_declaration)
|
|
(switch_statement)
|
|
] @indent
|
|
|
|
[
|
|
")"
|
|
"}"
|
|
] @outdent
|
|
|