mirror of
https://github.com/helix-editor/helix
synced 2026-08-05 14:42:57 +02:00
15 lines
551 B
Scheme
15 lines
551 B
Scheme
; Vue SFC blocks and template elements as xml-element textobjects, mirroring
|
|
; html. <script>/<style> bodies are a single raw_text child; template elements
|
|
; can hold many children.
|
|
(script_element (start_tag) (_) @xml-element.inside (end_tag)) @xml-element.around
|
|
|
|
(style_element (start_tag) (_) @xml-element.inside (end_tag)) @xml-element.around
|
|
|
|
(template_element (start_tag) (_)* @xml-element.inside (end_tag)) @xml-element.around
|
|
|
|
(element (start_tag) (_)* @xml-element.inside (end_tag))
|
|
|
|
(element) @xml-element.around
|
|
|
|
(comment) @comment.around
|