diff options
author | A-Walrus | 2022-08-21 04:54:02 +0000 |
---|---|---|
committer | GitHub | 2022-08-21 04:54:02 +0000 |
commit | ed74e6d5d405dd37e067c5fd41e2ae908da22a3c (patch) | |
tree | 4a3738cc1a3538f2d13cb3f54d7a277b578923dc /book | |
parent | e61c0b461cc5906d8db8ccffe1c0d3530a83c5a5 (diff) |
Switch to `tabpad` configuration option (#3458)
Virtual whitespace tabs are created from the `tab` character padded
with `tabpad` up to the tab width.
Diffstat (limited to 'book')
-rw-r--r-- | book/src/configuration.md | 3 |
1 files changed, 2 insertions, 1 deletions
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 |