patch 9.1.0039: too vague errors for 'listchars'/'fillchars'
Problem: too vague errors for 'listchars'/'fillchars'
Solution: Include the field name in error message.
(zeertzjq)
related: neovim/neovim#27050
closes: #13877
Co-authored-by: Cole Frankenhoff <cole.nhf@gmail.com>
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
4ea37f88e8
commit
6a8d2e1634
@ -1,4 +1,4 @@
|
||||
*options.txt* For Vim version 9.1. Last change: 2024 Jan 03
|
||||
*options.txt* For Vim version 9.1. Last change: 2024 Jan 17
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -3478,12 +3478,10 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
*'fillchars'* *'fcs'*
|
||||
'fillchars' 'fcs' string (default "vert:|,fold:-,eob:~")
|
||||
global or local to window |global-local|
|
||||
{not available when compiled without the |+folding|
|
||||
feature}
|
||||
Characters to fill the statuslines, vertical separators and special
|
||||
lines in the window.
|
||||
It is a comma-separated list of items. Each item has a name, a colon
|
||||
and the value of that item:
|
||||
and the value of that item: |E1511|
|
||||
|
||||
item name default Used for ~
|
||||
stl ' ' statusline of the current window
|
||||
@ -3504,7 +3502,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
<
|
||||
For the "stl", "stlnc", "foldopen", "foldclose" and "foldsep" items
|
||||
single-byte and multibyte characters are supported. But double-width
|
||||
characters are not supported.
|
||||
characters are not supported. |E1512|
|
||||
|
||||
The highlighting used for these items:
|
||||
item name highlight group ~
|
||||
@ -5243,7 +5241,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
'listchars' 'lcs' string (default "eol:$")
|
||||
global or local to window |global-local|
|
||||
Strings to use in 'list' mode and for the |:list| command. It is a
|
||||
comma-separated list of string settings.
|
||||
comma-separated list of string settings. *E1511*
|
||||
*lcs-eol*
|
||||
eol:c Character to show at the end of each line. When
|
||||
omitted, there is no extra character at the end of the
|
||||
@ -5319,7 +5317,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
|
||||
The characters ':' and ',' should not be used. UTF-8 characters can
|
||||
be used when 'encoding' is "utf-8", otherwise only printable
|
||||
characters are allowed. All characters must be single width.
|
||||
characters are allowed. All characters must be single width. *E1512*
|
||||
|
||||
Each character can be specified as hex: >
|
||||
set listchars=eol:\\x24
|
||||
|
||||
Reference in New Issue
Block a user