Closed J3RN closed 3 years ago
I just realized that triple quotes are valid for all sigils, so a "true fix" might require a different change.
iex(1)> ~c""" ...(1)> foo bar ...(1)> """ 'foo bar\n' iex(2)> ~r""" ...(2)> foo bar ...(2)> """ ~r/foo bar\n/ iex(3)> ~W""" ...(3)> foo bar ...(3)> """ ["foo", "bar"] iex(4)>
Could you add the full list of supported sigils from: https://github.com/elixir-editors/emacs-elixir/pull/454/files
It won't be perfect but I think it would be good enough for now.
@axelson Done! :grin:
The syntax highlighting for LiveView with heredocs is broken:
This (single character) change make the
~L
sigil support heredocs:Ideally I would like to apply the interpolation face inside of
<% ... %>
, but I'm not really sure how to approach that and this change stands on its own.