Include newlines in between combined injection ranges on different lines

This commit is contained in:
Max Brunsfeld
2023-07-14 09:25:56 -07:00
parent 2f2ef7c165
commit 21e7e35e73
4 changed files with 201 additions and 17 deletions
+1 -1
View File
@@ -4,4 +4,4 @@ autoclose_before = ">})"
brackets = [
{ start = "<", end = ">", close = true, newline = true },
]
block_comment = ["<%!--", "--%>"]
block_comment = ["<%!-- ", " --%>"]
+3 -3
View File
@@ -1,10 +1,7 @@
; HEEx delimiters
[
"--%>"
"-->"
"/>"
"<!"
"<!--"
"<"
"</"
"</:"
@@ -21,6 +18,9 @@
"<%%="
"<%="
"%>"
"--%>"
"-->"
"<!--"
] @keyword
; HEEx operators are highlighted as such