summaryrefslogtreecommitdiffstats
path: root/ftplugin/objc.vim
blob: 4e47eeddc485b635bd708f3b453089be2a59a427 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
if polyglot#init#is_disabled(expand('<sfile>:p'), 'objc', 'ftplugin/objc.vim')
  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','')