2023-02-21 02:13:55 -05:00
|
|
|
[
|
|
|
|
|
(annotation_targets)
|
2023-05-06 11:12:49 -04:00
|
|
|
(const)
|
2023-02-21 02:13:55 -05:00
|
|
|
(enum)
|
|
|
|
|
(interface)
|
|
|
|
|
(implicit_generics)
|
|
|
|
|
(generics)
|
|
|
|
|
(group)
|
|
|
|
|
(method_parameters)
|
|
|
|
|
(named_return_types)
|
|
|
|
|
(struct)
|
|
|
|
|
(union)
|
2023-05-06 11:12:49 -04:00
|
|
|
(field)
|
2023-03-20 14:44:39 -07:00
|
|
|
] @indent.begin
|
2023-02-21 02:13:55 -05:00
|
|
|
|
2024-01-06 15:05:50 +09:00
|
|
|
((struct_shorthand
|
|
|
|
|
(property)) @indent.align
|
2023-03-20 14:44:39 -07:00
|
|
|
(#set! indent.open_delimiter "(")
|
|
|
|
|
(#set! indent.close_delimiter ")"))
|
2023-02-21 02:13:55 -05:00
|
|
|
|
2024-01-06 15:05:50 +09:00
|
|
|
((method
|
|
|
|
|
(field_version)) @indent.align
|
2023-05-06 11:12:49 -04:00
|
|
|
(#set! indent.open_delimiter field_version))
|
|
|
|
|
|
2024-01-06 15:05:50 +09:00
|
|
|
((const_list
|
|
|
|
|
(const_value)) @indent.align
|
2023-05-06 11:12:49 -04:00
|
|
|
(#set! indent.open_delimiter "[")
|
|
|
|
|
(#set! indent.close_delimiter "]"))
|
|
|
|
|
|
|
|
|
|
(concatenated_string) @indent.align
|
2023-02-21 02:13:55 -05:00
|
|
|
|
|
|
|
|
[
|
|
|
|
|
"}"
|
|
|
|
|
")"
|
2023-05-06 11:12:49 -04:00
|
|
|
] @indent.end @indent.branch
|
2023-02-21 02:13:55 -05:00
|
|
|
|
|
|
|
|
[
|
|
|
|
|
(ERROR)
|
|
|
|
|
(comment)
|
2023-03-20 14:44:39 -07:00
|
|
|
] @indent.auto
|