tree-sitter-tiger/queries/indents.scm

19 lines
252 B
Scheme

; Control flow {{{
(if_expression
consequence: (_) @indent)
"else" @branch
(while_expression
body: (_) @indent)
(for_expression
body: (_) @indent)
; }}}
; Misc{{{
(comment) @ignore
(string_literal) @ignore
; }}}
; vim: sw=2 foldmethod=marker