2023-02-21 02:13:55 -05:00
|
|
|
[
|
|
|
|
|
(annotation_targets)
|
|
|
|
|
(const_list)
|
|
|
|
|
(enum)
|
|
|
|
|
(interface)
|
|
|
|
|
(implicit_generics)
|
|
|
|
|
(generics)
|
|
|
|
|
(group)
|
|
|
|
|
(method_parameters)
|
|
|
|
|
(named_return_types)
|
|
|
|
|
(struct)
|
|
|
|
|
(struct_shorthand)
|
|
|
|
|
(union)
|
|
|
|
|
] @indent
|
|
|
|
|
|
|
|
|
|
((struct_shorthand (property)) @aligned_indent
|
2023-03-19 18:55:48 -07:00
|
|
|
(#set! "open_delimiter" "(")
|
|
|
|
|
(#set! "close_delimiter" ")"))
|
2023-02-21 02:13:55 -05:00
|
|
|
|
|
|
|
|
((const_list (const_value)) @aligned_indent
|
2023-03-19 18:55:48 -07:00
|
|
|
(#set! "open_delimiter" "(")
|
|
|
|
|
(#set! "close_delimiter" ")"))
|
2023-02-21 02:13:55 -05:00
|
|
|
|
|
|
|
|
[
|
|
|
|
|
"}"
|
|
|
|
|
")"
|
|
|
|
|
] @indent_end
|
|
|
|
|
|
|
|
|
|
[ "{" "}" ] @branch
|
|
|
|
|
|
|
|
|
|
[ "(" ")" ] @branch
|
|
|
|
|
|
|
|
|
|
[
|
|
|
|
|
(ERROR)
|
|
|
|
|
(comment)
|
|
|
|
|
] @auto
|