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

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