1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-27 12:30:04 +08:00
SpaceVim/bundle/nvim-treesitter/queries/heex/indents.scm
2022-04-14 12:01:23 +08:00

21 lines
361 B
Scheme
Vendored

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