diff options
author | zeertzjq <zeertzjq@outlook.com> | 2021-11-18 09:55:59 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-17 20:55:59 -0500 |
commit | 5ff972cafe67dbaad7deafa2de60513f763732f6 (patch) | |
tree | d8f2e29f5077bf8545aad3f119a74f09c153734c /runtime | |
parent | eb3d59126eff50c64c2108e308884a722e7ee32e (diff) | |
download | rneovim-5ff972cafe67dbaad7deafa2de60513f763732f6.tar.gz rneovim-5ff972cafe67dbaad7deafa2de60513f763732f6.tar.bz2 rneovim-5ff972cafe67dbaad7deafa2de60513f763732f6.zip |
vim-patch:8.2.3522: cannot use \x and \u when setting 'listchars' (#16049)
Problem: Cannot use \x and \u when setting 'listchars'.
Solution: Support hex and unicode in hex form. (closes vim/vim#9006)
https://github.com/vim/vim/commit/93ff6720fe4427341bc426b6d46e6324f226c270
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 399a59251a..038808b760 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -3792,6 +3792,13 @@ A jump table for the options with a short description can be found at |Q_op|. The characters ':' and ',' should not be used. UTF-8 characters can be used. 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:% |