Skip to content

Commit

Permalink
Adding html-mode hook to erb templates.
Browse files Browse the repository at this point in the history
  • Loading branch information
knaveofdiamonds committed Nov 2, 2011
1 parent 5bfb7a7 commit bfe2475
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom/roland-hooks.el
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
(add-to-list 'auto-mode-alist '("\\.ru$" . ruby-mode))
(add-to-list 'auto-mode-alist '("Gemfile$" . ruby-mode))
(add-to-list 'auto-mode-alist '("Capfile$" . ruby-mode))
(add-to-list 'auto-mode-alist '("\\.erb$" . html-mode))

(add-hook 'ruby-mode-hook 'run-coding-hook)
(add-hook 'ruby-mode-hook 'ruby-electric-mode)
Expand Down

0 comments on commit bfe2475

Please sign in to comment.