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.
This commit is contained in:
Abizer Nasir 2014-03-31 15:10:18 +01:00
parent 43c4209dee
commit 320944cc9a

View file

@ -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")