Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Turn on rhtml mode for files ending in rhtml

  • Loading branch information...
commit d8042a99bc66fb18da02bb31bd9a8d5e939f6a96 1 parent 34de6e6
@pgrkr pgrkr authored
Showing with 2 additions and 1 deletion.
  1. +1 −1  README
  2. +1 −0  ruby-settings.el
2  README
@@ -1,7 +1,7 @@
This is my .emacs.d folder
* Prerequisites
-All OS: git, make, exuberant-ctags
+All OS: git, make, exuberant-ctags, rvm
Mac: ack
Debian: ack-grep
1  ruby-settings.el
@@ -109,6 +109,7 @@ exec-to-string command, but it works and seems fast"
(require 'rhtml-mode)
; put rhtml templates into rhtml-mode
(setq auto-mode-alist (cons '("\\.erb$" . rhtml-mode) auto-mode-alist))
+(setq auto-mode-alist (cons '("\\.rhtml$" . rhtml-mode) auto-mode-alist))
; put any rjs scripts into ruby-mode, as they are basically ruby
(setq auto-mode-alist (cons '("\\.rjs$" . ruby-mode) auto-mode-alist))
Please sign in to comment.
Something went wrong with that request. Please try again.