Skip to content

Commit 4c6c740

Browse files
committed
Add CocoaPods file type detection
CocoaPods is to Objective-C what RubyGems and Bundler are to Ruby. It, too, uses Ruby as the language for its dependency declaration (Podfile) and package specification (*.podspec) files. Treat these as Ruby files.
1 parent a7b0b38 commit 4c6c740

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ftdetect/ruby.vim

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,7 @@ au BufNewFile,BufRead [Bb]uildfile set filetype=ruby
5959
" Appraisal
6060
au BufNewFile,BufRead Appraisals set filetype=ruby
6161

62+
" CocoaPods
63+
au BufNewFile,BufRead Podfile,*.podspec set filetype=ruby
64+
6265
" vim: nowrap sw=2 sts=2 ts=8 noet:

0 commit comments

Comments
 (0)