blob: d1f6ef0bf94534a1cfeefa7b2353874c8111e5bc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
" Set 'commentstring', 'define', and 'include' back to their default C-friendly values
setlocal commentstring&vim
setlocal define&vim include&vim
setlocal include&vim
" Include macros in completion
setlocal complete+=d
" Include system headers on UNIX
if has('unix')
setlocal path+=/usr/include
endif
" Undo all of the above
let b:undo_ftplugin .= '|setlocal commentstring< complete< include< path<'
|