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:
parent
43c4209dee
commit
320944cc9a
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue