Permalink
Browse files

Gemspecs are ruby code.

  • Loading branch information...
1 parent a1d3e9a commit 9eedd2e7c407953567ac3085f48895bf26967a8b @technomancy committed Dec 24, 2008
Showing with 2 additions and 1 deletion.
  1. +2 −1 starter-kit-ruby.el
View
@@ -12,9 +12,10 @@
(global-set-key (kbd "C-h r") 'ri)
-;; Rake files are ruby, too.
+;; Rake files are ruby, too, as are gemspecs.
(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))
;; We never want to edit Rubinius bytecode
(add-to-list 'completion-ignored-extensions ".rbc")

0 comments on commit 9eedd2e

Please sign in to comment.