aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorMarco Hinz <mh.codebro@gmail.com>2019-01-25 16:45:29 +0100
committerMarco Hinz <mh.codebro@gmail.com>2019-01-26 14:45:48 +0100
commit2ae97f3d4c572387aa639af5d8550235bf0a2979 (patch)
tree77613f3e9a6adb7a62c4f1da5ac045c337128618 /runtime
parent2418aa3a4ac8f560373b940dbe0443fc79ab65ad (diff)
downloadrneovim-2ae97f3d4c572387aa639af5d8550235bf0a2979.tar.gz
rneovim-2ae97f3d4c572387aa639af5d8550235bf0a2979.tar.bz2
rneovim-2ae97f3d4c572387aa639af5d8550235bf0a2979.zip
vim-patch:8.1.0759: showing two characters for tab is limited
Problem: Showing two characters for tab is limited. Solution: Allow for a third character for "tab:" in 'listchars'. (Nathaniel Braun, Ken Takata, closes vim/vim#3810) https://github.com/vim/vim/commit/83a52171ba00b2b9fd2d1d22a07e38fc9fc69c1e
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/options.txt25
1 files changed, 20 insertions, 5 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 61482282f6..732305b6aa 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -3662,11 +3662,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.