blob: 7c68f0e6453640c6e0e1419480978f50afc02a2b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
" Extra configuration for 'cpp' filetypes
if &compatible || v:version < 700 || exists('b:did_ftplugin_cpp')
finish
endif
let b:did_ftplugin_cpp = 1
let b:undo_ftplugin = b:undo_ftplugin
\ . '|unlet b:did_ftplugin_cpp'
" Set comment formats
setlocal include=^\\s*#\\s*include
setlocal path+=/usr/include
let b:undo_ftplugin = b:undo_ftplugin
\ . '|setlocal include<'
\ . '|setlocal path<'
|