blob: cc2c0d7f7fe54f2788a20d086f9ce7636d552e36 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
" 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<'
\ . '|setlocal path<'
|