diff --git a/runtime/optwin.vim b/runtime/optwin.vim index 86a1387770..e142a39f8e 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: 2025 Sep 20 +" Last Change: 2025 Sep 30 " Former Maintainer: Bram Moolenaar " If there already is an option window, jump to that one. @@ -335,7 +335,7 @@ call AddOption("sidescrolloff", gettext("minimal number of columns to keep call append("$", " \tset siso=" . &siso) call 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 OptionG("dy", &dy) -call AddOption("fillchars", gettext("characters to use for the status line, folds, diffs, buffer text, filler lines and truncation in the completion menu")) +call AddOption("fillchars", gettext("characters to use for the status line, folds, diffs,\nbuffer text, filler lines and truncation in the completion menu")) call OptionG("fcs", &fcs) call AddOption("cmdheight", gettext("number of lines used for the command-line")) call append("$", " \tset ch=" . &ch) @@ -597,7 +597,7 @@ if has("gui") endif endif if has("browse") - call AddOption("browsedir", gettext("\"last\", \"buffer\" or \"current\": which directory used for the file browser")) + call AddOption("browsedir", gettext("\"last\", \"buffer\" or \"current\": which directory used for\nthe file browser")) call OptionG("bsdir", &bsdir) endif if has("multi_lang") @@ -620,7 +620,7 @@ if has("gui") call BinOptionG("beval", &beval) endif if has("balloon_eval_term") - call AddOption("balloonevalterm", gettext("use balloon evaluation in the terminal")) + call AddOption("balloonevalterm", gettext(" \nuse balloon evaluation in the terminal")) call BinOptionG("bevalterm", &beval) endif if has("eval") @@ -738,17 +738,17 @@ if has("insert_expand") call AddOption("autocomplete", gettext("automatic completion in insert mode")) call append("$", "\t" .. s:global_or_local) call BinOptionG("ac", &ac) - call AddOption("autocompletetimeout", gettext("initial decay timeout for 'autocomplete' algorithm")) + call AddOption("autocompletetimeout", gettext(" \ninitial decay timeout for 'autocomplete' algorithm")) call append("$", " \tset act=" . &act) - call AddOption("completetimeout", gettext("initial decay timeout for CTRL-N and CTRL-P completion")) + call AddOption("completetimeout", gettext(" \ninitial decay timeout for CTRL-N and CTRL-P completion")) call append("$", " \tset cto=" . &cto) - call AddOption("autocompletedelay", gettext("delay in msec before menu appears after typing")) + call AddOption("autocompletedelay", gettext(" \ndelay in msec before menu appears after typing")) call append("$", " \tset acl=" . &acl) call AddOption("completeopt", gettext("whether to use a popup menu for Insert mode completion")) call OptionL("cot") - call AddOption("completeitemalign", gettext("popup menu item align order")) + call AddOption("completeitemalign", gettext(" \npopup menu item align order")) call OptionG("cia", &cia) - call AddOption("completefuzzycollect", gettext("use fuzzy collection for specific completion modes")) + call AddOption("completefuzzycollect", gettext(" \nuse fuzzy collection for specific completion modes")) call OptionL("cfc") if exists("+completepopup") call AddOption("completepopup", gettext("options for the Insert mode completion info popup")) @@ -1103,6 +1103,8 @@ if has("quickfix") call AddOption("makeencoding", gettext("encoding of the \":make\" and \":grep\" output")) call append("$", "\t" .. s:global_or_local) call OptionG("menc", &menc) + call AddOption("quickfixtextfunc", gettext(" \nfunction to display text in the quickfix window")) + call OptionG("qftf", &qftf) endif @@ -1261,9 +1263,11 @@ call append("$", "\t" .. s:local_to_buffer) call BinOptionL("bl") call AddOption("debug", gettext("set to \"msg\" to see all error messages")) call append("$", " \tset debug=" . &debug) -call AddOption("signcolumn", gettext("whether to show the signcolumn")) -call append("$", "\t" .. s:local_to_window) -call OptionL("scl") +if has("signs") + call AddOption("signcolumn", gettext("whether to show the signcolumn")) + call append("$", "\t" .. s:local_to_window) + call OptionL("scl") +endif set cpo&vim