diff options
author | James Barford-Evans <jamesbarfordevans@gmail.com> | 2023-10-16 17:59:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-16 09:59:33 -0700 |
commit | a4c4b39d55db087af19a5ed8b6a1e5ecacb0c615 (patch) | |
tree | 42571dc83b651711fa556ff24b4659e95b0dea63 /runtime/lua/vim/diagnostic.lua | |
parent | 2eecb1b85dbb0e02ec40e95d28d3cc4720040f01 (diff) | |
download | rneovim-a4c4b39d55db087af19a5ed8b6a1e5ecacb0c615.tar.gz rneovim-a4c4b39d55db087af19a5ed8b6a1e5ecacb0c615.tar.bz2 rneovim-a4c4b39d55db087af19a5ed8b6a1e5ecacb0c615.zip |
fix(man.lua): hardwrapped manpage is not resized #25646
Problem:
If a manpage is opened, its hardwrapped dimensions are not recalculated
after closing then revisiting the same manpage.
Solution:
Unload the manpage when it is hidden. This forces it to be reloaded,
which forces the hard-wrapping to be recalculated when it is revisited.
Fixes: #25457
Diffstat (limited to 'runtime/lua/vim/diagnostic.lua')
0 files changed, 0 insertions, 0 deletions