elixir-editors / emacs-elixir

Emacs major mode for Elixir
446 stars 94 forks source link

add H to list of sigil characters #502

Closed mus0u closed 1 year ago

mus0u commented 1 year ago

Fixes #501

This is provided by Phoenix.Component rather than by the standard library, but they're used several times in freshly generated Phoenix projects beginning in version 1.7, and without adding this the font locking quickly goes off the rails in files where ~H""" is used. although it would be great to have true HTML font locking for dealing with embedded EEx inside heredocs, this was a one-character fix sufficient for my immediate needs, so i figured i would start with this hoping others would find it useful, and then maybe take a deeper look at font locking improvements that would require heavier changes later on.