diff options
Diffstat (limited to 'runtime/plugin/man.vim')
-rw-r--r-- | runtime/plugin/man.vim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/plugin/man.vim b/runtime/plugin/man.vim index 7bccd4a3b9..e18a5528bb 100644 --- a/runtime/plugin/man.vim +++ b/runtime/plugin/man.vim @@ -5,7 +5,9 @@ if exists('g:loaded_man') endif let g:loaded_man = 1 -command! -bar -range=0 -complete=customlist,man#complete -nargs=* Man call man#open_page(v:count, v:count1, <q-mods>, <f-args>) +command! -bang -bar -range=0 -complete=customlist,man#complete -nargs=* Man + \ if <bang>0 | set ft=man | + \ else | call man#open_page(v:count, v:count1, <q-mods>, <f-args>) | endif augroup man autocmd! |