man.vim: Start at the top #9023

fixes #9057
This commit is contained in:
Justin M. Keyes 2018-09-27 10:07:00 +02:00
parent fc18fad74f
commit a1976c7390

View File

@ -171,6 +171,7 @@ function! s:put_page(page) abort
" badly with our use of $MANWIDTH=9999. Hack around this by using a fixed
" size for those whitespace regions.
silent! keeppatterns keepjumps %s/\s\{999,}/\=repeat(' ', 10)/g
1
lua require("man").highlight_man_page()
setlocal filetype=man
endfunction