Per title: if MANPAGER is set to "env MAN_PN=1 vim -M +MANPAGER -",
running "man Xorg" results in a message "Cannot find a 'xorg'.".
The culprit is a "tolower()" in plugin/manpager.vim. Man page names
are case-sensitive on most UNIX systems. The patch below seems to fix
the problem.
/lcd
diff --git a/runtime/plugin/manpager.vim b/runtime/plugin/manpager.vim
index be6e30b70..9d30fab2f 100644
--- a/runtime/plugin/manpager.vim
+++ b/runtime/plugin/manpager.vim
@@ -20,7 +20,7 @@ function! s:MANPAGER()
let manpage = expand('$MAN_PN')
endif
- let page_sec = matchlist(tolower(manpage), '^' . pagesec_pattern . '$')
+ let page_sec = matchlist(manpage, '^' . pagesec_pattern . '$')
bwipe!
--
--
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.