[vim] Add filetype hook for Xcode pbxproj files
This commit is contained in:
parent
6494e75d01
commit
19e20af6ce
2 changed files with 9 additions and 0 deletions
5
vimrc
5
vimrc
|
@ -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
|
||||
" }}}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue