summaryrefslogtreecommitdiffstats
path: root/ftplugin/objc.vim
blob: ed76e4bd99c59164866ded652fd9ea2ba4c91a37 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'objc') == -1

" 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','')


endif