mirror of
https://github.com/neovim/neovim.git
synced 2025-09-13 23:08:16 +00:00
Merge pull request #33383 from zeertzjq/vim-9.1.1284
vim-patch:9.1.{1262,1284,1296,1306,1309}
This commit is contained in:
@@ -2615,8 +2615,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
*'fillchars'* *'fcs'*
|
||||
'fillchars' 'fcs' string (default "")
|
||||
global or local to window |global-local|
|
||||
Characters to fill the statuslines, vertical separators and special
|
||||
lines in the window.
|
||||
Characters to fill the statuslines, vertical separators, special
|
||||
lines in the window and truncated text in the |ins-completion-menu|.
|
||||
It is a comma-separated list of items. Each item has a name, a colon
|
||||
and the value of that item: |E1511|
|
||||
|
||||
@@ -2640,6 +2640,9 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
msgsep ' ' message separator 'display'
|
||||
eob '~' empty lines at the end of a buffer
|
||||
lastline '@' 'display' contains lastline/truncate
|
||||
trunc '>' truncated text in the
|
||||
|ins-completion-menu|.
|
||||
truncrl '<' same as "trunc' in 'rightleft' mode
|
||||
|
||||
Any one that is omitted will fall back to the default.
|
||||
|
||||
@@ -2671,9 +2674,15 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
vertright WinSeparator |hl-WinSeparator|
|
||||
verthoriz WinSeparator |hl-WinSeparator|
|
||||
fold Folded |hl-Folded|
|
||||
foldopen FoldColumn |hl-FoldColumn|
|
||||
foldclose FoldColumn |hl-FoldColumn|
|
||||
foldsep FoldColumn |hl-FoldColumn|
|
||||
diff DiffDelete |hl-DiffDelete|
|
||||
eob EndOfBuffer |hl-EndOfBuffer|
|
||||
lastline NonText |hl-NonText|
|
||||
trunc one of the many Popup menu highlighting groups like
|
||||
|hl-PmenuSel|
|
||||
truncrl same as "trunc"
|
||||
|
||||
*'findfunc'* *'ffu'* *E1514*
|
||||
'findfunc' 'ffu' string (default "")
|
||||
@@ -4656,8 +4665,10 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
global
|
||||
Maximum width for the popup menu (|ins-completion-menu|). When zero,
|
||||
there is no maximum width limit, otherwise the popup menu will never be
|
||||
wider than this value. Truncated text will be indicated by "..." at the
|
||||
end. Takes precedence over 'pumwidth'.
|
||||
wider than this value. Truncated text will be indicated by "trunc"
|
||||
value of 'fillchars' option.
|
||||
|
||||
This option takes precedence over 'pumwidth'.
|
||||
|
||||
*'pumwidth'* *'pw'*
|
||||
'pumwidth' 'pw' number (default 15)
|
||||
|
19
runtime/lua/vim/_meta/options.lua
generated
19
runtime/lua/vim/_meta/options.lua
generated
@@ -2307,8 +2307,8 @@ vim.o.ft = vim.o.filetype
|
||||
vim.bo.filetype = vim.o.filetype
|
||||
vim.bo.ft = vim.bo.filetype
|
||||
|
||||
--- Characters to fill the statuslines, vertical separators and special
|
||||
--- lines in the window.
|
||||
--- Characters to fill the statuslines, vertical separators, special
|
||||
--- lines in the window and truncated text in the `ins-completion-menu`.
|
||||
--- It is a comma-separated list of items. Each item has a name, a colon
|
||||
--- and the value of that item: `E1511`
|
||||
---
|
||||
@@ -2332,6 +2332,9 @@ vim.bo.ft = vim.bo.filetype
|
||||
--- msgsep ' ' message separator 'display'
|
||||
--- eob '~' empty lines at the end of a buffer
|
||||
--- lastline '@' 'display' contains lastline/truncate
|
||||
--- trunc '>' truncated text in the
|
||||
--- `ins-completion-menu`.
|
||||
--- truncrl '<' same as "trunc' in 'rightleft' mode
|
||||
---
|
||||
--- Any one that is omitted will fall back to the default.
|
||||
---
|
||||
@@ -2366,9 +2369,15 @@ vim.bo.ft = vim.bo.filetype
|
||||
--- vertright WinSeparator `hl-WinSeparator`
|
||||
--- verthoriz WinSeparator `hl-WinSeparator`
|
||||
--- fold Folded `hl-Folded`
|
||||
--- foldopen FoldColumn `hl-FoldColumn`
|
||||
--- foldclose FoldColumn `hl-FoldColumn`
|
||||
--- foldsep FoldColumn `hl-FoldColumn`
|
||||
--- diff DiffDelete `hl-DiffDelete`
|
||||
--- eob EndOfBuffer `hl-EndOfBuffer`
|
||||
--- lastline NonText `hl-NonText`
|
||||
--- trunc one of the many Popup menu highlighting groups like
|
||||
--- `hl-PmenuSel`
|
||||
--- truncrl same as "trunc"
|
||||
---
|
||||
--- @type string
|
||||
vim.o.fillchars = ""
|
||||
@@ -4838,8 +4847,10 @@ vim.go.ph = vim.go.pumheight
|
||||
|
||||
--- Maximum width for the popup menu (`ins-completion-menu`). When zero,
|
||||
--- there is no maximum width limit, otherwise the popup menu will never be
|
||||
--- wider than this value. Truncated text will be indicated by "..." at the
|
||||
--- end. Takes precedence over 'pumwidth'.
|
||||
--- wider than this value. Truncated text will be indicated by "trunc"
|
||||
--- value of 'fillchars' option.
|
||||
---
|
||||
--- This option takes precedence over 'pumwidth'.
|
||||
---
|
||||
--- @type integer
|
||||
vim.o.pummaxwidth = 0
|
||||
|
@@ -1,7 +1,7 @@
|
||||
" These commands create the option window.
|
||||
"
|
||||
" Maintainer: The Vim Project <https://github.com/vim/vim>
|
||||
" Last Change: 2025 Apr 06
|
||||
" Last Change: 2025 Apr 07
|
||||
" Former Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
|
||||
" If there already is an option window, jump to that one.
|
||||
@@ -333,7 +333,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 and filler lines"))
|
||||
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("$", " \tset ch=" . &ch)
|
||||
|
Reference in New Issue
Block a user