From 2c60798b00cc9b8efc9fdbec304a7ea04d11de4c Mon Sep 17 00:00:00 2001 From: unrelentingtech Date: Sat, 30 Apr 2022 03:48:52 +0300 Subject: feat(ui): add nbsp (non-breaking space) to rendered whitespace (#2322) --- 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 439c80f1..913897d6 100644 --- a/book/src/configuration.md +++ b/book/src/configuration.md @@ -145,7 +145,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` or `newline` | See example below | +| `characters` | Literal characters to use when rendering whitespace. Sub-keys may be any of `tab`, `space`, `nbsp` or `newline` | See example below | Example @@ -160,6 +160,7 @@ newline = "none" [editor.whitespace.characters] space = "·" +nbsp = "⍽" tab = "→" newline = "⏎" ``` -- cgit v1.2.3-70-g09d2