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