Bug#827634: [patch] Detect window width every time :Man is called

James McCoy jamessan at debian.org
Sun Jun 19 17:06:40 UTC 2016


Currently, man.vim lets $MANWIDTH, if it is empty, to the width of
the window at that time.  If :Man is later called in a different sized
window, the results will look wrong.

The attached patch lets $MANWIDTH to an empty value after running man,
if it was empty to start with.  This restores the state of $MANWIDTH, so
the width will be updated the next time :Man is used.

Cheers,
-- 
James
GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7  2D23 DFE6 91AE 331B A3DB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: man.vim.diff
Type: text/x-diff
Size: 593 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20160619/76824283/attachment.diff>


More information about the pkg-vim-maintainers mailing list