mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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:
parent
e30ccd56d9
commit
71bb4fd481
@ -1,5 +1,10 @@
|
|||||||
" Maintainer: Anmol Sethi <anmol@aubble.com>
|
" 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:find_arg = '-w'
|
||||||
let s:localfile_arg = v:true " Always use -l if possible. #6683
|
let s:localfile_arg = v:true " Always use -l if possible. #6683
|
||||||
let s:section_arg = '-s'
|
let s:section_arg = '-s'
|
||||||
|
Loading…
Reference in New Issue
Block a user