From ed74e6d5d405dd37e067c5fd41e2ae908da22a3c Mon Sep 17 00:00:00 2001 From: A-Walrus Date: Sun, 21 Aug 2022 07:54:02 +0300 Subject: Switch to `tabpad` configuration option (#3458) Virtual whitespace tabs are created from the `tab` character padded with `tabpad` up to the tab width.--- book/src/configuration.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'book') diff --git a/book/src/configuration.md b/book/src/configuration.md index 74474a74..affd497c 100644 --- a/book/src/configuration.md +++ b/book/src/configuration.md @@ -192,7 +192,7 @@ Options for rendering whitespace with visible characters. Use `:set whitespace.r | Key | Description | Default | |-----|-------------|---------| | `render` | Whether to render whitespace. May either be `"all"` or `"none"`, or a table with sub-keys `space`, `tab`, and `newline`. | `"none"` | -| `characters` | Literal characters to use when rendering whitespace. Sub-keys may be any of `tab`, `space`, `nbsp` or `newline` | See example below | +| `characters` | Literal characters to use when rendering whitespace. Sub-keys may be any of `tab`, `space`, `nbsp`, `newline` or `tabpad` | See example below | Example @@ -210,6 +210,7 @@ space = "·" nbsp = "⍽" tab = "→" newline = "⏎" +tabpad = "·" # Tabs will look like "→···" (depending on tab width) ``` ### `[editor.indent-guides]` Section -- cgit v1.2.3-70-g09d2