on master help sign in
Fix Go select indenting (#5713)

* Fix Go indenting * Fix bracket outdent predicate * Fix brace indenting (again)

commit00ecc556a8d3f7efe115f3d826c916ffacf6ab2e authorgavincrawford <94875769+gavincrawford@users.noreply.github.com> dateWed 8 Feb 2023, 00:17 (4 years ago) parent05c5207
1 file changed+3−2
runtime/queries/go/indents.scm+3−2
runtime/queries/go/indents.scm+3−2
@@ -20,8 +20,9 @@
2020] @indent
2121
2222[
23− "case"
24− "}"
2523 "]"
2624 ")"
2725] @outdent
26+
27+((_ "}" @outdent) @outer (#not-kind-eq? @outer "select_statement"))
28+(communication_case) @extend