Add HEEx language support, add missing commentstrings

This commit is contained in:
Clay 2021-08-15 09:40:02 -07:00 committed by Stephan Seitz
parent 807c3da669
commit a9e32d0cc5
14 changed files with 87 additions and 7 deletions

View file

@ -1,5 +1,6 @@
; Surface folds similar to HTML and includes blocks
[
(tag)
(component)
(block)
] @fold

View file

@ -19,12 +19,12 @@
; Surface supports HTML tags and are highlighted as such
[
(start_tag)
(end_tag)
(self_closing_tag)
(start_component)
(end_component)
(self_closing_component)
"<"
">"
"</"
"/>"
"{"
"}"
] @tag.delimiter
; Expressions are similar to string interpolation, and are highloghted as such

View file

@ -1,5 +1,6 @@
; Surface indents like HTML, with the addition of blocks
[
(component)
(tag)
(block)
] @indent
@ -7,6 +8,7 @@
; Dedent at the end of each tag, as well as a subblock
[
(end_tag)
(end_component)
(end_block)
(subblock)
] @branch