Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Commit

Permalink
Use ruby-mode for Gemfile and rackup files
Browse files Browse the repository at this point in the history
  • Loading branch information
smerritt authored and technomancy committed Oct 9, 2009
1 parent 7297c0a commit d7439fe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion starter-kit-ruby.el
Expand Up @@ -14,10 +14,12 @@

(global-set-key (kbd "C-h r") 'ri)

;; Rake files are ruby, too, as are gemspecs.
;; Rake files are ruby, too, as are gemspecs, rackup files, and gemfiles.
(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))

;; We never want to edit Rubinius bytecode
(add-to-list 'completion-ignored-extensions ".rbc")
Expand Down

0 comments on commit d7439fe

Please sign in to comment.