Files
vim-polyglot/ftplugin/objc.vim
2020-10-25 20:33:44 +01:00

11 lines
324 B
VimL

if !has_key(g:polyglot_is_disabled, 'objc')
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','')