vim-utils / vim-man

View and grep man pages in vim
247 stars 32 forks source link

g:loaded_man clash in neovim #33

Closed sakhnik closed 8 years ago

sakhnik commented 9 years ago

After recent changes to vim-man, an error shows up when trying to look up a man page in neovim: vim-man-nvim Though, vim works fine.

The problem stems from the variable g:loaded_man, which is also used in neovim runtime files:

k2:/usr/share/nvim/runtime % grep -r g:loaded_man
plugin/man.vim:let g:loaded_man = 
k2:/usr/share/nvim/runtime % yaourt -Qo plugin/man.vim 
/usr/share/nvim/runtime/plugin/man.vim is owned by neovim 0.1.0-1

Could vim-man use a more distinctive name for the guard variable?

bruno- commented 8 years ago

Thanks for reporting and opening a PR, it has been merged.