Open HaleTom opened 2 years ago
if exists("loaded_repmo") finish endif let loaded_repmo = 1
Should that be g:loaded_repmo? Would you accept a PR as such?
g:loaded_repmo
If not, how do I detect repmo is loaded. Pretty much every movement key breaks if it isn't :)
I'm using dein plugin manager, so for now this works:
dein
if dein#is_sourced('repmo-vim')
If you can determine the loaded state without help of repmo, then this should be enough and actually the ideal solution?
Actually, there's reasons that each plugin should set this kind of variable (eg prevent double loading), and it's an informal "standard".
I couldn't find the reference in the vim docs themselves, but it's basically the same as this
Should that be
g:loaded_repmo
? Would you accept a PR as such?If not, how do I detect repmo is loaded. Pretty much every movement key breaks if it isn't :)