From 320944cc9a2d7beb56a111b991b0f67599975232 Mon Sep 17 00:00:00 2001 From: Abizer Nasir Date: Mon, 31 Mar 2014 15:10:18 +0100 Subject: [PATCH] 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. --- modules/prelude-ruby.el | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/prelude-ruby.el b/modules/prelude-ruby.el index e5792fb..98f7444 100644 --- a/modules/prelude-ruby.el +++ b/modules/prelude-ruby.el @@ -49,6 +49,7 @@ (add-to-list 'auto-mode-alist '("Vagrantfile\\'" . 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 '("\\.podspec\\'" . ruby-mode)) ;; We never want to edit Rubinius bytecode (add-to-list 'completion-ignored-extensions ".rbc")