aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin/c.vim
blob: e101b20cd372e9d9fd105ff2b6de8c8a3fc47e99 (plain) (blame)
1
2
3
4
5
6
7
8
9
" Extra configuration for C files
if &filetype !=# 'c' || v:version < 700
  finish
endif

" Set comment formats
setlocal include=^\\s*#\\s*include
setlocal path+=/usr/include
let b:undo_ftplugin .= '|setlocal include< path<'