0
0
mirror of https://github.com/vim/vim.git synced 2025-10-15 07:14:09 -04:00

runtime(optwin): Update formatting of option descriptions

closes: #18446

Signed-off-by: RestorerZ <restorer@mail2k.ru>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
RestorerZ
2025-10-01 20:57:14 +00:00
committed by Christian Brabandt
parent e3ed5584ed
commit a644b7924d

View File

@@ -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 <Bram@vim.org>
" 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("$", " \tset siso=" . &siso)
call <SID>AddOption("display", gettext("include \"lastline\" to show the last line even if it doesn't fit\ninclude \"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,\nbuffer 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("$", " \tset ch=" . &ch)
@@ -689,7 +689,7 @@ if has("gui")
call append("$", " \tset 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\nshapes"))
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\nthe 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(" \nuse 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("$", "\t" .. 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(" \ninitial decay timeout for 'autocomplete' algorithm"))
call append("$", " \tset act=" . &act)
call <SID>AddOption("completetimeout", gettext("initial decay timeout for CTRL-N and CTRL-P completion"))
call <SID>AddOption("completetimeout", gettext(" \ninitial decay timeout for CTRL-N and CTRL-P completion"))
call append("$", " \tset cto=" . &cto)
call <SID>AddOption("autocompletedelay", gettext("delay in msec before menu appears after typing"))
call <SID>AddOption("autocompletedelay", gettext(" \ndelay in msec before menu appears after typing"))
call append("$", " \tset 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(" \npopup 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(" \nuse 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("$", "\t" .. 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(" \nfunction 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(" \nname of the Python 3 home directory"))
call <SID>OptionG("pythonthreehome", &pythonthreehome)
endif
if exists("&rubydll")