on master help sign in
slint indents
d932113Erasin
runtime/queries/slint/indents.scm+8−26
@@ -1,29 +1,11 @@
1−
2−; [
3−; (struct_definition)
4−; (component_definition)
5−; ] @indent
6−
7[
1[
8−(field_declaration_list_body)
2+ (field_declaration_list_body)
9−(list_definition_body)
3+ (list_definition_body)
10−(struct_field_declaration_list_body)
4+ (struct_field_declaration_list_body)
11] @indent
5] @indent
12
6
13−; [
7+[
14−; "{"
15−; "}"
8+ "}"
16−; "("
9+ "]"
17−; ")"
10+ ")"
18−; (if_statement)
11+] @outdent
19−; "else if"
20−; "else"
21−; ] @branch
22−
23−; "{" @indent
24−"}" @indent_end
25−
26−(comment) @auto
27−
28−(string) @auto
29−