From a1976c7390976e89fc803224488c4ca0d39d35f7 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Thu, 27 Sep 2018 10:07:00 +0200 Subject: man.vim: Start at the top #9023 fixes #9057 --- runtime/autoload/man.vim | 1 + 1 file changed, 1 insertion(+) (limited to 'runtime/autoload') diff --git a/runtime/autoload/man.vim b/runtime/autoload/man.vim index 8ca78f2782..1c25368a68 100644 --- a/runtime/autoload/man.vim +++ b/runtime/autoload/man.vim @@ -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 -- cgit