From d9321134f6c0f2a009540812bacfaa6a4b621751 Mon Sep 17 00:00:00 2001 From: Erasin Date: Mon, 8 Aug 2022 18:12:58 +0800 Subject: [PATCH] slint indents --- runtime/queries/slint/indents.scm | 34 ++++++++----------------------- 1 file changed, 8 insertions(+), 26 deletions(-) diff --git a/runtime/queries/slint/indents.scm b/runtime/queries/slint/indents.scm index 253b9c489..37bbd5360 100644 --- a/runtime/queries/slint/indents.scm +++ b/runtime/queries/slint/indents.scm @@ -1,29 +1,11 @@ - -; [ -; (struct_definition) -; (component_definition) -; ] @indent - [ -(field_declaration_list_body) -(list_definition_body) -(struct_field_declaration_list_body) + (field_declaration_list_body) + (list_definition_body) + (struct_field_declaration_list_body) ] @indent -; [ -; "{" -; "}" -; "(" -; ")" -; (if_statement) -; "else if" -; "else" -; ] @branch - -; "{" @indent -"}" @indent_end - -(comment) @auto - -(string) @auto - +[ + "}" + "]" + ")" +] @outdent