nvim-treesitter/queries/heex/indents.scm
George Harker cb568af539 use indent.X syntax for captures and properties of set directives
update CONTRIBUTING.md

adjust indents for bass

fix doc capture comment
2023-03-24 13:07:53 -04:00

20 lines
388 B
Scheme

; HEEx tags, components, and slots indent like HTML
[
(component)
(slot)
(tag)
] @indent.begin
; Dedent at the end of each tag, component, and slot
[
(end_component)
(end_slot)
(end_tag)
] @indent.branch @indent.dedent
; Self-closing tags and components should not change
; indentation level of sibling nodes
[
(self_closing_component)
(self_closing_tag)
] @indent.auto