Debian Codegraph @

runtime/queries/concerto/indents.scm

raw symbols SCIP
1 ; Concerto Language - Indent Queries (Helix)
2 ; ============================================
3 ; Helix-specific indentation rules. For use in helix-editor/helix at
4 ; runtime/queries/concerto/indents.scm
5 ;
6 ; Helix uses @indent and @outdent captures, same as tree-sitter convention.
7 ; See: https://docs.helix-editor.com/guides/indent.html
8
9 ; Indent inside declaration bodies and decorator argument lists
10 [
11 (class_body)
12 (enum_body)
13 (map_body)
14 (decorator_arguments)
15 ] @indent
16
17 ; Outdent at closing braces and parentheses
18 [
19 "}"
20 ")"
21 ] @outdent