aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-09-27 10:07:00 +0200
committerJustin M. Keyes <justinkz@gmail.com>2018-09-27 10:08:31 +0200
commita1976c7390976e89fc803224488c4ca0d39d35f7 (patch)
tree0f938869f327e042b59ac493bae1c0bd1357ef17
parentfc18fad74ff3be9929d9d10de964f4813497fba0 (diff)
downloadrneovim-a1976c7390976e89fc803224488c4ca0d39d35f7.tar.gz
rneovim-a1976c7390976e89fc803224488c4ca0d39d35f7.tar.bz2
rneovim-a1976c7390976e89fc803224488c4ca0d39d35f7.zip
man.vim: Start at the top #9023
fixes #9057
-rw-r--r--runtime/autoload/man.vim1
1 files changed, 1 insertions, 0 deletions
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