Permalink
Browse files

Use ruby-mode for Capfile

  • Loading branch information...
1 parent 2a02417 commit ada2ac9815c6d94c421d18b744ec5cf299c834cf @smerritt smerritt committed with Apr 17, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 starter-kit-ruby.el
View
@@ -14,12 +14,13 @@
(global-set-key (kbd "C-h r") 'ri)
-;; Rake files are ruby, too, as are gemspecs, rackup files, and gemfiles.
+;; Rake files are ruby, too, as are gemspecs, rackup files, etc.
(add-to-list 'auto-mode-alist '("\\.rake$" . ruby-mode))
(add-to-list 'auto-mode-alist '("Rakefile$" . ruby-mode))
(add-to-list 'auto-mode-alist '("\\.gemspec$" . ruby-mode))
(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))
;; We never want to edit Rubinius bytecode
(add-to-list 'completion-ignored-extensions ".rbc")

0 comments on commit ada2ac9

Please sign in to comment.