summaryrefslogblamecommitdiffstats
path: root/ftplugin/objc.vim
blob: b3cfc7081b4b17466a976da1c9160e1b278ea03b (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                                                                            





                                                                                                                         
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'objc') != -1
  finish
endif

" Use C++ style comment strings with commentary.vim
setl commentstring=//%s

" Search for include files inside frameworks (used for gf etc.)
setl includeexpr=substitute(v:fname,'\\([^/]\\+\\)/\\(.\\+\\)','/System/Library/Frameworks/\\1.framework/Headers/\\2','')