Skip to content

g:loaded_man clash in neovim #33

@sakhnik

Description

@sakhnik

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions