helix-mirror/runtime/queries/meson/indents.scm
Garrett D'Amore f843967059
Improvements to Meson syntax. (#4572)
Co-authored-by: Garrett D'Amore <garrett.damore@weka.io>
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2022-11-15 20:17:03 -06:00

18 lines
249 B
Scheme

; Indentation queries for helix
[
(function_expression)
(array_literal)
(dictionary_literal)
(selection_statement)
(iteration_statement)
] @indent
; question - what about else, elif
[
")"
"]"
"}"
(endif)
(endforeach)
] @outdent