eruby-nxhtml-mode not loading properly

132 Views Asked by At

I have this line in my .emacs file:

(add-to-list 'auto-mode-alist '(".+\\.html\\.erb$" . eruby-nxhtml-mumamo))

however, erb chunks aren't correctly recognised. After I run M-x eruby-nxhtml-mumamo everything works like a charm. Any ideas how to fix this?

1

There are 1 best solutions below

1
On BEST ANSWER

change "eruby-nxhtml-mumamo" to "eruby-nxhtml-mumamo-mode"