diff options
author | zeertzjq <zeertzjq@outlook.com> | 2021-09-19 13:13:44 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2021-09-19 13:13:44 +0800 |
commit | 51567db4b6740004698492ed8b8fa13b53d20b48 (patch) | |
tree | de1ceb817cd14c0917166b8a5bb7921ce4a36524 /runtime | |
parent | 177e87525ababda460cab77314ceb72801a3017f (diff) | |
download | rneovim-51567db4b6740004698492ed8b8fa13b53d20b48.tar.gz rneovim-51567db4b6740004698492ed8b8fa13b53d20b48.tar.bz2 rneovim-51567db4b6740004698492ed8b8fa13b53d20b48.zip |
vim-patch:8.2.3424: a sequence of spaces is hard to see in list mode
Problem: A sequence of spaces is hard to see in list mode.
Solution: Add the "multispace" option to 'listchars'. (closes vim/vim#8834)
https://github.com/vim/vim/commit/f14b8ba1373f569705cb80419248054100b02360
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/options.txt | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index bc4cdcbd80..853d774232 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -3751,16 +3751,25 @@ A jump table for the options with a short description can be found at |Q_op|. *lcs-space* space:c Character to show for a space. When omitted, spaces are left blank. + *lcs-multispace* + multispace:c... + One or more characters to use cyclically to show for + multiple consecutive spaces. Overrides the "space" + setting, except for single spaces. When omitted, the + "space" setting is used. For example, + `:set listchars=multispace:---+` shows ten consecutive + spaces as: + ---+---+-- *lcs-lead* lead:c Character to show for leading spaces. When omitted, - leading spaces are blank. Overrides the "space" - setting for leading spaces. You can combine it with - "tab:", for example: > + leading spaces are blank. Overrides the "space" and + "multispace" settings for leading spaces. You can + combine it with "tab:", for example: > :set listchars+=tab:>-,lead:. < *lcs-trail* trail:c Character to show for trailing spaces. When omitted, - trailing spaces are blank. Overrides the "space" - setting for trailing spaces. + trailing spaces are blank. Overrides the "space" and + "multispace" settings for trailing spaces. *lcs-extends* extends:c Character to show in the last column, when 'wrap' is off and the line continues beyond the right of the @@ -3785,7 +3794,8 @@ A jump table for the options with a short description can be found at |Q_op|. :set lcs=tab:>-,eol:<,nbsp:% :set lcs=extends:>,precedes:< < |hl-NonText| highlighting will be used for "eol", "extends" and - "precedes". |hl-Whitespace| for "nbsp", "space", "tab" and "trail". + "precedes". |hl-Whitespace| for "nbsp", "space", "tab", "multispace", + "lead" and "trail". *'lpl'* *'nolpl'* *'loadplugins'* *'noloadplugins'* 'loadplugins' 'lpl' boolean (default on) |