2012-09-28 12:29:24 -07:00
|
|
|
setlocal foldmethod=syntax
|
|
|
|
setlocal et
|
2011-05-03 21:53:50 -07:00
|
|
|
|
|
|
|
"For the new omni-completion ":help ft-c-omni"
|
|
|
|
if has('mac')
|
2012-09-28 12:29:24 -07:00
|
|
|
setlocal tags+=~/.vim/systags-osx
|
2011-05-03 21:53:50 -07:00
|
|
|
elseif has('linux')
|
2012-09-28 12:29:24 -07:00
|
|
|
setlocal tags+=~/.vim/systags-linux
|
2011-05-03 21:53:50 -07:00
|
|
|
endif
|
2011-09-09 14:45:47 -07:00
|
|
|
|
|
|
|
" Do comments that look like this:
|
|
|
|
" /* stuff and things
|
|
|
|
" more stuff with things */
|
2013-03-24 19:02:23 -07:00
|
|
|
"setlocal comments="sO:* -,mO: ,exO:*/,sl:/*,mb: ,ex:*/"
|
2011-09-09 14:45:47 -07:00
|
|
|
|
2012-09-28 12:29:24 -07:00
|
|
|
setlocal cinoptions+=(0,Ws
|