el-get/recipes/enh-ruby-mode.rcp
Noam Postavsky 70c272c739 Remove redundant Enhanced-Ruby-Mode.rcp
Enhanced-Ruby-Mode.rcp came first, but enh-ruby-mode is the name
mentioned on upstream's README.

Also drop :features from enh-ruby-mode.rcp, the recipe already
includes the needed autoloads and auto mode configurations.

Fixes #2296.
2016-05-15 21:44:27 -04:00

13 lines
809 B
Plaintext

(:name enh-ruby-mode
:description "Replacement for ruby-mode which uses ruby 1.9's Ripper to parse and indent. From Zenspider's repository."
:type github
:pkgname "zenspider/enhanced-ruby-mode"
:prepare (progn
(autoload 'enh-ruby-mode "enh-ruby-mode" "Major mode for ruby files" t)
(add-to-list 'interpreter-mode-alist '("ruby" . enh-ruby-mode))
(add-to-list 'auto-mode-alist '("\\.rake$" . enh-ruby-mode))
(add-to-list 'auto-mode-alist '("Rakefile$" . enh-ruby-mode))
(add-to-list 'auto-mode-alist '("\\.gemspec$" . enh-ruby-mode))
(add-to-list 'auto-mode-alist '("Gemfile$" . enh-ruby-mode))
(add-to-list 'auto-mode-alist '("\\.rb$" . enh-ruby-mode))))