From: zeertzjq Date: Tue, 21 Apr 2026 19:34:18 +0000 (+0000) Subject: runtime(doc): fix incorrect description of 'scrolloffpad' X-Git-Tag: v9.2.0385~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3918f3232f874b3c96f8bfccc5049711f16c252e;p=thirdparty%2Fvim.git runtime(doc): fix incorrect description of 'scrolloffpad' closes: #20029 Signed-off-by: zeertzjq Signed-off-by: Christian Brabandt --- diff --git a/runtime/doc/quickref.txt b/runtime/doc/quickref.txt index 1ada2bf9b3..acc5dbdd04 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 12d46cffb8..90d563c902 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 2be864882f..1ecd602d3b 100644 --- a/runtime/optwin.vim +++ b/runtime/optwin.vim @@ -1,7 +1,7 @@ " These commands create the option window. " " Maintainer: The Vim Project -" Last Change: 2026 Apr 15 +" Last Change: 2026 Apr 21 " Former Maintainer: Bram Moolenaar " If there already is an option window, jump to that one. @@ -351,7 +351,7 @@ call append("$", "\t" .. s:local_to_window) call BinOptionL("sms") call AddOption("scrolloff", gettext("number of screen lines to show around the cursor")) call append("$", " \tset so=" . &so) -call AddOption("scrolloffpad", gettext("keep 'scrolloff' context even at end of file")) +call AddOption("scrolloffpad", gettext("vertically center cursor even at end of file")) call append("$", " \tset sop=" . &sop) call AddOption("wrap", gettext("long lines wrap")) call append("$", "\t" .. s:local_to_window) diff --git a/src/po/vim.pot b/src/po/vim.pot index 94794e7769..e3206e8712 100644 --- a/src/po/vim.pot +++ b/src/po/vim.pot @@ -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 \n" "Language-Team: LANGUAGE \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"