Skip to content

Commit

Permalink
Fix Go select indenting (helix-editor#5713)
Browse files Browse the repository at this point in the history
* Fix Go  indenting

* Fix bracket outdent predicate

* Fix brace indenting (again)
  • Loading branch information
gavincrawford authored Feb 8, 2023
1 parent 05c5207 commit 00ecc55
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions runtime/queries/go/indents.scm
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@
] @indent

[
"case"
"}"
"]"
")"
] @outdent

((_ "}" @outdent) @outer (#not-kind-eq? @outer "select_statement"))
(communication_case) @extend

0 comments on commit 00ecc55

Please sign in to comment.