diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-10-16 17:51:40 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-10-16 17:51:40 +0100 |
commit | 93ff6720fe4427341bc426b6d46e6324f226c270 (patch) | |
tree | 59206daf1e304747723c5e4fcc8cabd16b3c310e /runtime | |
parent | abdcfd1c837e244065d4fe04c7a78abae5af3f7e (diff) |
patch 8.2.3522: cannot use \x and \u when setting 'listchars'v8.2.3522
Problem: Cannot use \x and \u when setting 'listchars'.
Solution: Support hex and unicode in hex form. (closes #9006)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/options.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 67504795b6..735e1c1f93 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -4978,6 +4978,13 @@ A jump table for the options with a short description can be found at |Q_op|. be used when 'encoding' is "utf-8", otherwise only printable characters are allowed. All characters must be single width. + Each character can be specified as hex: > + set listchars=eol:\\x24 + set listchars=eol:\\u21b5 + set listchars=eol:\\U000021b5 +< Note that a double backslash is used. The number of hex characters + must be exactly 2 for \\x, 4 for \\u and 8 for \\U. + Examples: > :set lcs=tab:>-,trail:- :set lcs=tab:>-,eol:<,nbsp:% |