mirror of
https://github.com/dimitri/el-get.git
synced 2024-09-29 04:58:53 +08:00
70c272c739
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.
13 lines
809 B
Plaintext
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))))
|