[vim] Add filetype hook for Xcode pbxproj files

This commit is contained in:
Eryn Wells 2015-04-30 11:36:38 -07:00
parent 6494e75d01
commit 19e20af6ce
2 changed files with 9 additions and 0 deletions

5
vimrc
View file

@ -352,6 +352,11 @@ if has('autocmd')
autocmd InsertEnter * setlocal nocursorline
autocmd InsertLeave * setlocal cursorline
augroup END
augroup XCodeProjectFileType
autocmd!
autocmd BufRead *.pbxproj setf xcodepbx
augroup END
endif
" }}}