aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries
diff options
context:
space:
mode:
authorErasin2022-08-08 10:12:58 +0000
committerMichael Davis2022-08-08 22:57:08 +0000
commitd9321134f6c0f2a009540812bacfaa6a4b621751 (patch)
tree34fce23477f4b27152c5e409017bacff3dead9ec /runtime/queries
parentf09d2bc56bfb8f5865ed364de371dad571e6a92f (diff)
slint indents
Diffstat (limited to 'runtime/queries')
-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