comparison runtime/doc/options.txt @ 34157:e7d64a3fffe4 v9.1.0039

patch 9.1.0039: too vague errors for 'listchars'/'fillchars' Commit: https://github.com/vim/vim/commit/6a8d2e1634f8f0d7463a2786dbcbe0f38dd287a7 Author: zeertzjq <zeertzjq@outlook.com> Date: Wed Jan 17 20:54:49 2024 +0100 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>
author Christian Brabandt <cb@256bit.org>
date Wed, 17 Jan 2024 21:15:03 +0100
parents 170e917524f7
children 2dae3f0bfa53
comparison
equal deleted inserted replaced
34156:6e58c97e633a 34157:e7d64a3fffe4
1 *options.txt* For Vim version 9.1. Last change: 2024 Jan 03 1 *options.txt* For Vim version 9.1. Last change: 2024 Jan 17
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
3476 Only normal file name characters can be used, "/\*?[|<>" are illegal. 3476 Only normal file name characters can be used, "/\*?[|<>" are illegal.
3477 3477
3478 *'fillchars'* *'fcs'* 3478 *'fillchars'* *'fcs'*
3479 'fillchars' 'fcs' string (default "vert:|,fold:-,eob:~") 3479 'fillchars' 'fcs' string (default "vert:|,fold:-,eob:~")
3480 global or local to window |global-local| 3480 global or local to window |global-local|
3481 {not available when compiled without the |+folding|
3482 feature}
3483 Characters to fill the statuslines, vertical separators and special 3481 Characters to fill the statuslines, vertical separators and special
3484 lines in the window. 3482 lines in the window.
3485 It is a comma-separated list of items. Each item has a name, a colon 3483 It is a comma-separated list of items. Each item has a name, a colon
3486 and the value of that item: 3484 and the value of that item: |E1511|
3487 3485
3488 item name default Used for ~ 3486 item name default Used for ~
3489 stl ' ' statusline of the current window 3487 stl ' ' statusline of the current window
3490 stlnc ' ' statusline of the non-current windows 3488 stlnc ' ' statusline of the non-current windows
3491 vert '|' vertical separators |:vsplit| 3489 vert '|' vertical separators |:vsplit|
3502 Example: > 3500 Example: >
3503 :set fillchars=stl:\ ,stlnc:\ ,vert:\|,fold:-,diff:- 3501 :set fillchars=stl:\ ,stlnc:\ ,vert:\|,fold:-,diff:-
3504 < 3502 <
3505 For the "stl", "stlnc", "foldopen", "foldclose" and "foldsep" items 3503 For the "stl", "stlnc", "foldopen", "foldclose" and "foldsep" items
3506 single-byte and multibyte characters are supported. But double-width 3504 single-byte and multibyte characters are supported. But double-width
3507 characters are not supported. 3505 characters are not supported. |E1512|
3508 3506
3509 The highlighting used for these items: 3507 The highlighting used for these items:
3510 item name highlight group ~ 3508 item name highlight group ~
3511 stl StatusLine |hl-StatusLine| 3509 stl StatusLine |hl-StatusLine|
3512 stlnc StatusLineNC |hl-StatusLineNC| 3510 stlnc StatusLineNC |hl-StatusLineNC|
5241 5239
5242 *'listchars'* *'lcs'* 5240 *'listchars'* *'lcs'*
5243 'listchars' 'lcs' string (default "eol:$") 5241 'listchars' 'lcs' string (default "eol:$")
5244 global or local to window |global-local| 5242 global or local to window |global-local|
5245 Strings to use in 'list' mode and for the |:list| command. It is a 5243 Strings to use in 'list' mode and for the |:list| command. It is a
5246 comma-separated list of string settings. 5244 comma-separated list of string settings. *E1511*
5247 *lcs-eol* 5245 *lcs-eol*
5248 eol:c Character to show at the end of each line. When 5246 eol:c Character to show at the end of each line. When
5249 omitted, there is no extra character at the end of the 5247 omitted, there is no extra character at the end of the
5250 line. 5248 line.
5251 *lcs-tab* 5249 *lcs-tab*
5317 (0xA0 (160 decimal) and U+202F). Left blank when 5315 (0xA0 (160 decimal) and U+202F). Left blank when
5318 omitted. 5316 omitted.
5319 5317
5320 The characters ':' and ',' should not be used. UTF-8 characters can 5318 The characters ':' and ',' should not be used. UTF-8 characters can
5321 be used when 'encoding' is "utf-8", otherwise only printable 5319 be used when 'encoding' is "utf-8", otherwise only printable
5322 characters are allowed. All characters must be single width. 5320 characters are allowed. All characters must be single width. *E1512*
5323 5321
5324 Each character can be specified as hex: > 5322 Each character can be specified as hex: >
5325 set listchars=eol:\\x24 5323 set listchars=eol:\\x24
5326 set listchars=eol:\\u21b5 5324 set listchars=eol:\\u21b5
5327 set listchars=eol:\\U000021b5 5325 set listchars=eol:\\U000021b5