diff options
Diffstat (limited to 'runtime/syntax/man.vim')
-rw-r--r-- | runtime/syntax/man.vim | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/runtime/syntax/man.vim b/runtime/syntax/man.vim index a01bd1c0e7..7772d2d6aa 100644 --- a/runtime/syntax/man.vim +++ b/runtime/syntax/man.vim @@ -27,11 +27,7 @@ if &filetype != 'man' finish endif -if !exists('b:man_sect') - call man#init_pager() -endif - -if b:man_sect =~# '^[023]' +if get(b:, 'man_sect', '') =~# '^[023]' syntax case match syntax include @c $VIMRUNTIME/syntax/c.vim syntax match manCFuncDefinition display '\<\h\w*\>\ze\(\s\|\n\)*(' contained |