tree-sitter-tiger/queries/indents.scm

19 lines
252 B
Scheme
Raw Normal View History

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
; }}}
; Misc{{{
(comment) @ignore
2022-06-04 11:00:41 +02:00
(string_literal) @ignore
; }}}
; vim: sw=2 foldmethod=marker