Question

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?

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top