diff --git a/elixir-language-configuration.json b/elixir-language-configuration.json index 21002ad..95c007b 100644 --- a/elixir-language-configuration.json +++ b/elixir-language-configuration.json @@ -22,6 +22,7 @@ { "open": "~D\"", "close": "\"" }, { "open": "~E\"", "close": "\"" }, { "open": "~L\"", "close": "\"" }, + { "open": "~H\"", "close": "\"" }, { "open": "~N\"", "close": "\"" }, { "open": "~R\"", "close": "\"" }, { "open": "~S\"", "close": "\"" }, @@ -39,6 +40,7 @@ { "open": "~D\"\"\"", "close": "\"\"\"" }, { "open": "~E\"\"\"", "close": "\"\"\"" }, { "open": "~L\"\"\"", "close": "\"\"\"" }, + { "open": "~H\"\"\"", "close": "\"\"\"" }, { "open": "~N\"\"\"", "close": "\"\"\"" }, { "open": "~R\"\"\"", "close": "\"\"\"" }, { "open": "~S\"\"\"", "close": "\"\"\"" }, diff --git a/syntaxes/elixir.json b/syntaxes/elixir.json index ecddf32..74f5386 100644 --- a/syntaxes/elixir.json +++ b/syntaxes/elixir.json @@ -1563,7 +1563,7 @@ }, { "comment": "Embedded Liveview heredoc with double quotes", - "begin": "\\s?(~L\"\"\")$", + "begin": "\\s?(~(L|H)\"\"\")$", "beginCaptures": { "0": { "name": "punctuation.definition.string.begin.elixir" @@ -1617,7 +1617,7 @@ }, { "comment": "Embededd Liveview heredoc with single quotes", - "begin": "\\s?(~L''')$", + "begin": "\\s?(~(L|H)''')$", "beginCaptures": { "0": { "name": "punctuation.definition.string.begin.elixir"