aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/queries/slint/indents.scm34
1 files changed, 8 insertions, 26 deletions
diff --git a/runtime/queries/slint/indents.scm b/runtime/queries/slint/indents.scm
index 253b9c48..37bbd536 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