diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-01-16 22:41:54 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-01-16 22:41:54 +0100 |
commit | 83a52171ba00b2b9fd2d1d22a07e38fc9fc69c1e (patch) | |
tree | 5b8e1eaf85ad03ccaa27aec30fff6775bef44d71 /runtime | |
parent | 500f36108031c75befb6a04cac2ceeb592d8cf00 (diff) | |
download | vim-git-83a52171ba00b2b9fd2d1d22a07e38fc9fc69c1e.tar.gz |
patch 8.1.0759: showing two characters for tab is limitedv8.1.0759
Problem: Showing two characters for tab is limited.
Solution: Allow for a third character for "tab:" in 'listchars'. (Nathaniel
Braun, Ken Takata, closes #3810)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/options.txt | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 008926f63..be53e9f56 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -5063,11 +5063,26 @@ A jump table for the options with a short description can be found at |Q_op|. omitted, there is no extra character at the end of the line. *lcs-tab* - tab:xy Two characters to be used to show a tab. The first - char is used once. The second char is repeated to - fill the space that the tab normally occupies. - "tab:>-" will show a tab that takes four spaces as - ">---". When omitted, a tab is show as ^I. + tab:xy[z] Two or three characters to be used to show a tab. + The third character is optional. + + tab:xy The 'x' is always used, then 'y' as many times as will + fit. Thus "tab:>-" displays: + > + >- + >-- + etc. + + tab:xyz The 'z' is always used, then 'x' is prepended, and + then 'y' is used as many times as will fit. Thus + "tab:<->" displays: + > + <> + <-> + <--> + etc. + + When "tab:" is omitted, a tab is shown as ^I. *lcs-space* space:c Character to show for a space. When omitted, spaces are left blank. |