Debian Codegraph @

runtime/queries/html/indents.scm

raw symbols SCIP
1 ; Indent the contents of an element; pull the end tag — and the close of a
2 ; multi-line start/self-closing tag — back to the element's column. Mirrors the
3 ; jsx rules. Void elements (`<br>`, `<img …>`) are single-line `element`s, so the
4 ; tail-scoped indent is a no-op for them.
5 [
6 (element)
7 (script_element)
8 (style_element)
9 ] @indent
10 (end_tag) @outdent
11 (start_tag ">" @outdent)
12 (self_closing_tag "/>" @outdent)
13
14 ; <script>/<style> bodies are embedded JS/CSS, handled by injection-aware indent
15 ; (the engine indents them with the JS/CSS query). No @opaque needed.