aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/slint/indents.scm
blob: 253b9c489f8f89c0f712aa5b1ddcbe12a3c20f7a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
; [
; (struct_definition)
; (component_definition)
; ] @indent

[
(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