diff options
author | gavincrawford | 2023-02-08 07:17:34 +0000 |
---|---|---|
committer | GitHub | 2023-02-08 07:17:34 +0000 |
commit | 00ecc556a8d3f7efe115f3d826c916ffacf6ab2e (patch) | |
tree | 17a519dd382ee3f733bcbf23cd131b408737390f /runtime/queries/go/indents.scm | |
parent | 05c52072653f4c276750e3c651b9c4e030e912d2 (diff) |
Fix Go select indenting (#5713)
* Fix Go indenting
* Fix bracket outdent predicate
* Fix brace indenting (again)
Diffstat (limited to 'runtime/queries/go/indents.scm')
-rw-r--r-- | runtime/queries/go/indents.scm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/queries/go/indents.scm b/runtime/queries/go/indents.scm index f72ec9e8..e439a905 100644 --- a/runtime/queries/go/indents.scm +++ b/runtime/queries/go/indents.scm @@ -20,8 +20,9 @@ ] @indent [ - "case" - "}" "]" ")" ] @outdent + +((_ "}" @outdent) @outer (#not-kind-eq? @outer "select_statement")) +(communication_case) @extend |