runtime(optwin): Update formatting of option descriptions

Commit: 
https://github.com/vim/vim/commit/a644b7924dbfa42248d563f268b608003474e6eb
Author: RestorerZ <[email protected]>
Date:   Wed Oct 1 20:57:14 2025 +0000

    runtime(optwin): Update formatting of option descriptions
    
    closes: https://github.com/vim/vim/issues/18446
    
    Signed-off-by: RestorerZ <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/runtime/optwin.vim b/runtime/optwin.vim
index 538b44dad..2bf20585c 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: 2025 Sep 22
+" Last Change: 2025 Sep 30
 " Former Maintainer:   Bram Moolenaar <[email protected]>
 
 " If there already is an option window, jump to that one.
@@ -373,7 +373,7 @@ call <SID>AddOption("sidescrolloff", gettext("minimal 
number of columns to keep
 call append("$", "     set siso=" . &siso)
 call <SID>AddOption("display", gettext("include \"lastline\" to show the last 
line even if it doesn't fit
include \"uhex\" to show unprintable characters as a hex number"))
 call <SID>OptionG("dy", &dy)
-call <SID>AddOption("fillchars", gettext("characters to use for the status 
line, folds, diffs, buffer text, filler lines and truncation in the completion 
menu"))
+call <SID>AddOption("fillchars", gettext("characters to use for the status 
line, folds, diffs,
buffer text, filler lines and truncation in the completion menu"))
 call <SID>OptionG("fcs", &fcs)
 call <SID>AddOption("cmdheight", gettext("number of lines used for the 
command-line"))
 call append("$", "     set ch=" . &ch)
@@ -689,7 +689,7 @@ if has("gui")
     call append("$", "         set ghr=" . &ghr)
   endif
   if has("gui_gtk") || has("gui_win32")
-    call <SID>AddOption("guiligatures", gettext("list of ASCII characters that 
can be combined into complex shapes"))
+    call <SID>AddOption("guiligatures", gettext("list of ASCII characters that 
can be combined into complex
shapes"))
     call <SID>OptionG("gli", &gli)
   endif
   if has("directx")
@@ -699,7 +699,7 @@ if has("gui")
   call <SID>AddOption("guipty", gettext("use a pseudo-tty for I/O to external 
commands"))
   call <SID>BinOptionG("guipty", &guipty)
   if has("browse")
-    call <SID>AddOption("browsedir", gettext("\"last\", \"buffer\" or 
\"current\": which directory used for the file browser"))
+    call <SID>AddOption("browsedir", gettext("\"last\", \"buffer\" or 
\"current\": which directory used for
the file browser"))
     call <SID>OptionG("bsdir", &bsdir)
   endif
   if has("multi_lang")
@@ -722,7 +722,7 @@ if has("gui")
       call <SID>BinOptionG("beval", &beval)
     endif
     if has("balloon_eval_term")
-      call <SID>AddOption("balloonevalterm", gettext("use balloon evaluation 
in the terminal"))
+      call <SID>AddOption("balloonevalterm", gettext(" 
use balloon evaluation in the terminal"))
       call <SID>BinOptionG("bevalterm", &beval)
     endif
     if has("eval")
@@ -878,17 +878,17 @@ if has("insert_expand")
   call <SID>AddOption("autocomplete", gettext("automatic completion in insert 
mode"))
   call append("$", "   " .. s:global_or_local)
   call <SID>BinOptionG("ac", &ac)
-  call <SID>AddOption("autocompletetimeout", gettext("initial decay timeout 
for 'autocomplete' algorithm"))
+  call <SID>AddOption("autocompletetimeout", gettext(" 
initial decay timeout for 'autocomplete' algorithm"))
   call append("$", "   set act=" . &act)
-  call <SID>AddOption("completetimeout", gettext("initial decay timeout for 
CTRL-N and CTRL-P completion"))
+  call <SID>AddOption("completetimeout", gettext(" 
initial decay timeout for CTRL-N and CTRL-P completion"))
   call append("$", "   set cto=" . &cto)
-  call <SID>AddOption("autocompletedelay", gettext("delay in msec before menu 
appears after typing"))
+  call <SID>AddOption("autocompletedelay", gettext(" 
delay in msec before menu appears after typing"))
   call append("$", "   set acl=" . &acl)
   call <SID>AddOption("completeopt", gettext("whether to use a popup menu for 
Insert mode completion"))
   call <SID>OptionL("cot")
-  call <SID>AddOption("completeitemalign", gettext("popup menu item align 
order"))
+  call <SID>AddOption("completeitemalign", gettext(" 
popup menu item align order"))
   call <SID>OptionG("cia", &cia)
-  call <SID>AddOption("completefuzzycollect", gettext("use fuzzy collection 
for specific completion modes"))
+  call <SID>AddOption("completefuzzycollect", gettext(" 
use fuzzy collection for specific completion modes"))
   call <SID>OptionL("cfc")
   if exists("+completepopup")
     call <SID>AddOption("completepopup", gettext("options for the Insert mode 
completion info popup"))
@@ -1266,7 +1266,7 @@ if has("quickfix")
   call <SID>AddOption("makeencoding", gettext("encoding of the \":make\" and 
\":grep\" output"))
   call append("$", "   " .. s:global_or_local)
   call <SID>OptionG("menc", &menc)
-  call <SID>AddOption("quickfixtextfunc", gettext("function to display text in 
the quickfix window"))
+  call <SID>AddOption("quickfixtextfunc", gettext(" 
function to display text in the quickfix window"))
   call <SID>OptionG("qftf", &qftf)
 endif
 
@@ -1468,7 +1468,7 @@ if exists("&pythonthreedll")
   call <SID>OptionG("pythonthreedll", &pythonthreedll)
 endif
 if exists("&pythonthreehome")
-  call <SID>AddOption("pythonthreehome", gettext("name of the Python 3 home 
directory"))
+  call <SID>AddOption("pythonthreehome", gettext(" 
name of the Python 3 home directory"))
   call <SID>OptionG("pythonthreehome", &pythonthreehome)
 endif
 if exists("&rubydll")

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1v43vl-005x8x-Lb%40256bit.org.

Raspunde prin e-mail lui