man.vim: guard against reload (#8940)

Some plugins attempt to reload autoloaded scripts.
Use a guard to prevent this.

fix #8939
This commit is contained in:
dm1try 2018-09-01 12:42:43 +03:00 committed by Justin M. Keyes
parent e30ccd56d9
commit 71bb4fd481

View File

@ -1,5 +1,10 @@
" Maintainer: Anmol Sethi <anmol@aubble.com>
if exists('s:loaded_man')
finish
endif
let s:loaded_man = 1
let s:find_arg = '-w'
let s:localfile_arg = v:true " Always use -l if possible. #6683
let s:section_arg = '-s'