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