aboutsummaryrefslogtreecommitdiff
path: root/vim/after/ftplugin/cpp.vim
blob: 9a58cfa58eb3d0bec977fc398ac1404668067a36 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
" Extra configuration for C++ files
if &filetype != 'cpp' || &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<'