From 00ecc556a8d3f7efe115f3d826c916ffacf6ab2e Mon Sep 17 00:00:00 2001 From: gavincrawford Date: Wed, 8 Feb 2023 00:17:34 -0700 Subject: Fix Go select indenting (#5713) * Fix Go indenting * Fix bracket outdent predicate * Fix brace indenting (again)--- runtime/queries/go/indents.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'runtime/queries/go') 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 -- cgit v1.2.3-70-g09d2