dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

c.vim (715B)


      1 if v:version >= 800
      2   packadd termdebug
      3 endif
      4 let b:undo_ftplugin = (exists('b:undo_ftplugin') ? b:undo_ftplugin.'|' : '')
      5 let b:undo_ftplugin .= 'nmapc <buffer>'
      6 setlocal path+=/usr/include,/usr/local/include,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include,/usr/lib,/usr/local/Cellar/gcc*/**/include/**
      7 setlocal suffixesadd+=.c,.h
      8 let &l:include='^\s*#\s*include\s*["<]\zs.*\ze[>"]'
      9 setlocal includeexpr=
     10 let &l:define='\v^\s*(#\s*define)|((const )?(int|char|void|s?size_t) \*? ?)|(struct \ze\k+ \{)|(struct \k+ \ze\k+;)'
     11 let &l:iskeyword='a-z,A-Z,48-57,_,.'
     12 let &l:commentstring='// %s'
     13 setlocal tabstop=4 softtabstop=4 shiftwidth=4 noexpandtab
     14 setlocal keywordprg=:Man
     15 setlocal foldmethod=syntax