vim-polyglot/ftplugin/objc.vim
2019-03-04 09:28:35 +01:00

11 lines
357 B
VimL

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