From 7822a821a0fed5e7833dab3239a5404a76e5ef57 Mon Sep 17 00:00:00 2001 From: Matt Furden Date: Sat, 27 Apr 2024 12:44:00 -0700 Subject: [PATCH] Remove $ from end of HEEx sigil requirements The existing regex prevented the end of a HEEx sigil from being detected if the line had any additional content after the """[modifiers]. This caused highlighting to break if a HEEx sigil was ever passed into a function as `""")` or `""", :more_args)` would not be detected by the regex. --- syntaxes/elixir-heex.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntaxes/elixir-heex.json b/syntaxes/elixir-heex.json index 495ee71..c75c2c8 100644 --- a/syntaxes/elixir-heex.json +++ b/syntaxes/elixir-heex.json @@ -11,7 +11,7 @@ "name": "string.quoted.double.heredoc.elixir" } }, - "end": "^\\s*(\"\"\"[a-z]*)$", + "end": "^\\s*(\"\"\"[a-z]*)", "endCaptures": { "0": { "name": "string.quoted.double.heredoc.elixir"