runtime(doc): fix incorrect description of 'scrolloffpad'
Commit:
https://github.com/vim/vim/commit/3918f3232f874b3c96f8bfccc5049711f16c252e
Author: zeertzjq <
zeer...@outlook.com>
Date: Tue Apr 21 19:34:18 2026 +0000
runtime(doc): fix incorrect description of 'scrolloffpad'
closes:
https://github.com/vim/vim/issues/20029
Signed-off-by: zeertzjq <
zeer...@outlook.com>
Signed-off-by: Christian Brabandt <
c...@256bit.org>
diff --git a/runtime/doc/quickref.txt b/runtime/doc/quickref.txt
index 1ada2bf9b..acc5dbdd0 100644
--- a/runtime/doc/quickref.txt
+++ b/runtime/doc/quickref.txt
@@ -1,4 +1,4 @@
-*quickref.txt* For Vim version 9.2. Last change: 2026 Apr 15
+*quickref.txt* For Vim version 9.2. Last change: 2026 Apr 21
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -895,7 +895,7 @@ Short explanation of each option: *option-list*
'scrollfocus' 'scf' scroll wheel applies to window under pointer
'scrolljump' 'sj' minimum number of lines to scroll
'scrolloff' 'so' minimum nr. of lines above and below cursor
-'scrolloffpad' 'sop' keep 'scrolloff' context at end of file
+'scrolloffpad' 'sop' vertically center cursor at end of file
'scrollopt' 'sbo' how 'scrollbind' should behave
'sections' 'sect' nroff macros that separate sections
'secure' secure mode for reading .vimrc in current dir
diff --git a/runtime/doc/version9.txt b/runtime/doc/version9.txt
index 12d46cffb..90d563c90 100644
--- a/runtime/doc/version9.txt
+++ b/runtime/doc/version9.txt
@@ -1,4 +1,4 @@
-*version9.txt* For Vim version 9.2. Last change: 2026 Apr 20
+*version9.txt* For Vim version 9.2. Last change: 2026 Apr 21
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -52656,8 +52656,8 @@ Autocommands: ~
Options: ~
'modelinestrict' Only allow safe options to be set from a modeline.
-'pumopt' Additional options for the popup menu
-'scrolloffpad' Keep 'scrolloff' context at end of file
+'pumopt' Additional options for the popup menu.
+'scrolloffpad' Vertically center cursor at end of file.
'statuslineopt' Extra window-local options for the 'statusline', to
configure the height.
't_BS' Begin synchronized update.
diff --git a/runtime/optwin.vim b/runtime/optwin.vim
index 2be864882..1ecd602d3 100644
--- a/runtime/optwin.vim
+++ b/runtime/optwin.vim
@@ -1,7 +1,7 @@
" These commands create the option window.
"
" Maintainer: The Vim Project <
https://github.com/vim/vim>
-" Last Change: 2026 Apr 15
+" Last Change: 2026 Apr 21
" Former Maintainer: Bram Moolenaar <
Br...@vim.org>
" If there already is an option window, jump to that one.
@@ -351,7 +351,7 @@ call append("$", " " .. s:local_to_window)
call <SID>BinOptionL("sms")
call <SID>AddOption("scrolloff", gettext("number of screen lines to show around the cursor"))
call append("$", " set so=" . &so)
-call <SID>AddOption("scrolloffpad", gettext("keep 'scrolloff' context even at end of file"))
+call <SID>AddOption("scrolloffpad", gettext("vertically center cursor even at end of file"))
call append("$", " set sop=" . &sop)
call <SID>AddOption("wrap", gettext("long lines wrap"))
call append("$", " " .. s:local_to_window)
diff --git a/src/po/vim.pot b/src/po/vim.pot
index 94794e776..e3206e871 100644
--- a/src/po/vim.pot
+++ b/src/po/vim.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Vim
"
"Report-Msgid-Bugs-To:
vim...@vim.org
"
-"POT-Creation-Date: 2026-04-20 17:54+0000
"
+"POT-Creation-Date: 2026-04-21 19:33+0000
"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE
"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>
"
"Language-Team: LANGUAGE <
L...@li.org>
"
@@ -9380,7 +9380,7 @@ msgstr ""
msgid "number of screen lines to show around the cursor"
msgstr ""
-msgid "keep 'scrolloff' context even at end of file"
+msgid "vertically center cursor even at end of file"
msgstr ""
msgid "long lines wrap"