2022-06-04 10:57:27 +02:00
|
|
|
; Control flow {{{
|
|
|
|
(if_expression
|
|
|
|
consequence: (_) @indent)
|
|
|
|
"else" @branch
|
2022-06-04 10:58:14 +02:00
|
|
|
|
|
|
|
(while_expression
|
|
|
|
body: (_) @indent)
|
|
|
|
|
|
|
|
(for_expression
|
|
|
|
body: (_) @indent)
|
2022-06-04 10:57:27 +02:00
|
|
|
; }}}
|
|
|
|
|
2022-06-04 21:54:44 +02:00
|
|
|
; Class {{{
|
|
|
|
(class_declaration
|
|
|
|
fields: (_)* @indent)
|
|
|
|
(class_type
|
|
|
|
fields: (_)* @indent)
|
|
|
|
; }}}
|
|
|
|
|
2022-06-04 10:54:31 +02:00
|
|
|
; Misc{{{
|
|
|
|
(comment) @ignore
|
2022-06-04 11:00:41 +02:00
|
|
|
(string_literal) @ignore
|
2022-06-04 10:54:31 +02:00
|
|
|
; }}}
|
|
|
|
|
|
|
|
; vim: sw=2 foldmethod=marker
|