]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc): fix incorrect description of 'scrolloffpad'
authorzeertzjq <zeertzjq@outlook.com>
Tue, 21 Apr 2026 19:34:18 +0000 (19:34 +0000)
committerChristian Brabandt <cb@256bit.org>
Tue, 21 Apr 2026 19:34:18 +0000 (19:34 +0000)
closes: #20029

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/quickref.txt
runtime/doc/version9.txt
runtime/optwin.vim
src/po/vim.pot

index 1ada2bf9b3e226b900fbbfa822a06d77312cebe5..acc5dbdd0492c1473e7ffe2c6bfde0913dd12c91 100644 (file)
@@ -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
index 12d46cffb8444aeb8601c35f62c36a5700c0507a..90d563c90275e01b36db615954a78d7b17bc20df 100644 (file)
@@ -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.
index 2be864882f1afdbff4043b454a7ae6c9b9f7f8f5..1ecd602d3b14c787a239f1b20cd2619bc69ddc76 100644 (file)
@@ -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 <Bram@vim.org>
 
 " If there already is an option window, jump to that one.
@@ -351,7 +351,7 @@ call append("$", "\t" .. s:local_to_window)
 call <SID>BinOptionL("sms")
 call <SID>AddOption("scrolloff", gettext("number of screen lines to show around the cursor"))
 call append("$", " \tset 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("$", " \tset sop=" . &sop)
 call <SID>AddOption("wrap", gettext("long lines wrap"))
 call append("$", "\t" .. s:local_to_window)
index 94794e7769237355bd2c3df4a62149cec5ed490a..e3206e871264eb1253845509645b236ed3a73527 100644 (file)
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: Vim\n"
 "Report-Msgid-Bugs-To: vim-dev@vim.org\n"
-"POT-Creation-Date: 2026-04-20 17:54+0000\n"
+"POT-Creation-Date: 2026-04-21 19:33+0000\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -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"