From 6156b9368f674e351947ef554e1f173558525d49 Mon Sep 17 00:00:00 2001 From: Benjamin Bannier Date: Sat, 5 Oct 2024 15:23:14 +0200 Subject: [PATCH] Reformat queries --- src/query.scm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/query.scm b/src/query.scm index 14060fa..f56c546 100644 --- a/src/query.scm +++ b/src/query.scm @@ -386,16 +386,15 @@ ; Unit `if`/`else` blocks. (unit_if_else "if" @append_space - "{" @prepend_space - ("else" @prepend_space @append_space)? + "{" @prepend_space ("else" @prepend_space @append_space)? ) (unit_if_else "{" @append_indent_start @append_hardline . ; List explicitly so we match the correct {} pair. [ - (comment) - (field_decl) + (comment) + (field_decl) ]* . "}" @prepend_indent_end @prepend_hardline