dotfiles/vim/after/ftplugin/c.vim

18 lines
365 B
VimL
Raw Normal View History

2011-05-03 21:53:50 -07:00
set foldmethod=syntax
set sw=4 sts=4
2011-10-20 13:48:26 -07:00
set et
2011-05-03 21:53:50 -07:00
"For the new omni-completion ":help ft-c-omni"
if has('mac')
set tags+=~/.vim/systags-osx
elseif has('linux')
set tags+=~/.vim/systags-linux
endif
2011-09-09 14:45:47 -07:00
" Do comments that look like this:
" /* stuff and things
" more stuff with things */
set comments="sO:* -,mO: ,exO:*/,sl:/*,mb: ,ex:*/"
set cinoptions+=(0,Ws