diff options
author | zeertzjq <zeertzjq@outlook.com> | 2021-09-10 16:58:30 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-09-10 16:58:30 +0200 |
commit | f14b8ba1373f569705cb80419248054100b02360 (patch) | |
tree | 57858129c7f87dc01ea87fde7f19133ceaaa9c2b /runtime/doc | |
parent | 07802044b90b2cbcc64b2dfe235f019d7c37589c (diff) | |
download | vim-git-f14b8ba1373f569705cb80419248054100b02360.tar.gz |
patch 8.2.3424: a sequence of spaces is hard to see in list modev8.2.3424
Problem: A sequence of spaces is hard to see in list mode.
Solution: Add the "multispace" option to 'listchars'. (closes #8834)
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/options.txt | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index a82bf82bc..591e649d7 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -4939,16 +4939,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 |