Small tweak to allow the use of another man ftplugin. For example, I use bruno-/vim-man, which is actually the stock man.vim included with Vim with enhancements. The addition of the conditional simply skips sourcing $VIMRUNTIME/ftplugin/man.vim if the :Man command is already defined.
Coincidentally, an identical conditional exists in the stock man.vim when defining the :Man command.
Small tweak to allow the use of another man ftplugin. For example, I use bruno-/vim-man, which is actually the stock man.vim included with Vim with enhancements. The addition of the conditional simply skips sourcing
$VIMRUNTIME/ftplugin/man.vim
if the:Man
command is already defined.Coincidentally, an identical conditional exists in the stock man.vim when defining the
:Man
command.