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:![image](https://user-images.githubusercontent.com/2058614/101193175-31fb2100-362a-11eb-90e3-17bcc6801e2f.png)
This (single character) change make the![image](https://user-images.githubusercontent.com/2058614/101193334-6c64be00-362a-11eb-96d7-9a280f5c5c62.png)
~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.