Browse Source

Open .podspec files in Ruby mode

.podspec files use a Ruby DSL for the CocoaPod dependency management
system, common in iOS development.

Although the Podspec file correctly opens in Ruby mode, the .podspec
file does not. This corrects that.
custom
Abizer Nasir 12 years ago
parent
commit
320944cc9a
  1. 1
      modules/prelude-ruby.el

1
modules/prelude-ruby.el

@ -49,6 +49,7 @@
(add-to-list 'auto-mode-alist '("Vagrantfile\\'" . ruby-mode)) (add-to-list 'auto-mode-alist '("Vagrantfile\\'" . ruby-mode))
(add-to-list 'auto-mode-alist '("\\.jbuilder\\'" . ruby-mode)) (add-to-list 'auto-mode-alist '("\\.jbuilder\\'" . ruby-mode))
(add-to-list 'auto-mode-alist '("Podfile\\'" . ruby-mode)) (add-to-list 'auto-mode-alist '("Podfile\\'" . ruby-mode))
(add-to-list 'auto-mode-alist '("\\.podspec\\'" . ruby-mode))
;; We never want to edit Rubinius bytecode ;; We never want to edit Rubinius bytecode
(add-to-list 'completion-ignored-extensions ".rbc") (add-to-list 'completion-ignored-extensions ".rbc")

Loading…
Cancel
Save