+# ^^^^^^^^ source.elixir.embedded.html
+# ^^^^^^^^^^ meta.attribute-with-value.class.html meta.embedded
<%= @deploy_step %>
# ^^^^^^^^^^^ variable.other.constant
@@ -175,7 +183,7 @@ heredoc text
^^text.html.basic
"""
-~L"""
+~H"""
<%= @var %>
# ^^^ variable.other.constant.elixir
# ^ -string
@@ -191,16 +199,16 @@ heredoc text
# ^ storage.type.string
#^^^ punctuation.definition.string.end
#^^^^ meta.string.elixir
-~L"
\"
"m
+~H"
\"
"m
# ^ punctuation.definition.string.end
# ^^ constant.character.escape.char.elixir
# ^^^ entity.name.tag.block.any.html
-~L'
\'
'm
+~H'
\'
'm
# ^ punctuation.definition.string.end
# ^^ constant.character.escape.char.elixir
# ^^^ entity.name.tag.block.any.html
- ~L/\//m ~L|\||m ~L{\}}m ~L[\]]m ~L<\>>m ~L(\))m
+ ~H/\//m ~H|\||m ~H{\}}m ~H[\]]m ~H<\>>m ~H(\))m
# ^ string.quoted.modifiers
# ^ string.quoted.modifiers
# ^ string.quoted.modifiers
@@ -208,7 +216,7 @@ heredoc text
# ^ string.quoted.modifiers
# ^ string.quoted.modifiers
-~L'''
+~H'''
\
^^ text.html.basic -punctuation.separator.continuation
'''m
diff --git a/tests/syntax_test_surface.ex b/tests/syntax_test_surface.ex
index e91418d2..7ce0676e 100644
--- a/tests/syntax_test_surface.ex
+++ b/tests/syntax_test_surface.ex
@@ -6,6 +6,11 @@
#^^ meta.string.elixir storage.type.string.elixir
# ^^^ meta.string.elixir punctuation.definition.string.begin.elixir
+ {!-- Comment --}
+# ^^^ punctuation.definition.comment.end.surface
+# ^^^^ punctuation.definition.comment.begin.surface
+# ^^^^^^^^^^^^^^^^ meta.embedded.surface comment.block.surface
+
# ^ punctuation.section.embedded.end.elixir - source.elixir.embedded
# ^ source.elixir.embedded.html
diff --git a/tests/syntax_test_template.html.heex b/tests/syntax_test_template.html.heex
index b5ba8426..e4a3c045 100644
--- a/tests/syntax_test_template.html.heex
+++ b/tests/syntax_test_template.html.heex
@@ -18,6 +18,17 @@
+ <%!-- Multi-line
+
+
+
+
+ comment --%>
+
+
+
+
+
<% # Comment %>