简体   繁体   中英

Emacs: Rinari. How to make haml files also open in rinari-minor-mode

When using rinari, rinari-minor-mode is enabled when editing any .rb file. Though, when opening .haml files rinari-minor-mode is disabled.

How do I make emacs also automatically enable rinari-minor-mode when editing .haml files?

应该:

(add-hook 'haml-mode-hook 'rinari-minor-mode)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM