Mysteriously, the $MANPATH was empty when vim was called as manpager and caused
the
issue of this thread. Setting
export MANPAGER="env MANPATH=${MANPATH} vim -RM +MANPAGER -"
worked around it.
Also,
export MANPAGER="env LANGUAGE=${LANG} $vim -RM +MANPAGER -"
ensures that the manpages are displayed in the user's preferred language.
Thus the question: Should the documentation :help manpager recommend setting
export MANPAGER="env MAN_PN=1 MANPATH=${MANPATH} LANGUAGE=${LANG} vim -RM
+MANPAGER -"
(instead of export MANPAGER="env MAN_PN=1 vim -RM +MANPAGER -") ?
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.