summaryrefslogtreecommitdiff
path: root/examples/live/queries/indents.scm
blob: 9ddd784a67b9871f2b6634f547d67ae8dcab939f (plain) (blame)
1
2
3
4
5
; A new line's indent (helix's indent queries): a level inside a call or
; parentheses left open, none else, so a line ending in `)` does not push
; the next one in.
[(call) (parenthesized)] @indent
")" @outdent