blob: e3eeaede24e2f7a9d61cb3de86ccba8d763f9a0d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
" Include macros in completion
setlocal complete+=d
" Set include pattern
setlocal include=^\\s*#\\s*include
" Include system headers on UNIX
if has('unix')
setlocal path+=/usr/include
endif
" Undo all of the above
let b:undo_ftplugin .= '|setlocal complete< include< path<'
|