on master help sign in
slint indents
commitd9321134f6c0f2a009540812bacfaa6a4b621751 authorErasin <erasinoo@gmail.com> dateMon 8 Aug 2022, 18:12 (4 years ago) parentf09d2bc
1 file changed+8−26
runtime/queries/slint/indents.scm+8−26
runtime/queries/slint/indents.scm+8−26
@@ -1,29 +1,11 @@
1−
2−; [
3−; (struct_definition)
4−; (component_definition)
5−; ] @indent
6−
71[
8−(field_declaration_list_body)
9−(list_definition_body)
10−(struct_field_declaration_list_body)
2+ (field_declaration_list_body)
3+ (list_definition_body)
4+ (struct_field_declaration_list_body)
115] @indent
126
13−; [
14−; "{"
15−; "}"
16−; "("
17−; ")"
18−; (if_statement)
19−; "else if"
20−; "else"
21−; ] @branch
22−
23−; "{" @indent
24−"}" @indent_end
25−
26−(comment) @auto
27−
28−(string) @auto
29−
7+[
8+ "}"
9+ "]"
10+ ")"
11+] @outdent