Files
vim-polyglot/ftplugin/objc.vim
2021-01-01 22:30:41 +01:00

11 lines
359 B
VimL

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