Disallow setting 'ambiwidth' to "double" when 'listchars' or 'fillchars'

contains a character that would become double width.
This commit is contained in:
Bram Moolenaar
2010-08-04 20:55:44 +02:00
parent e4ce65d445
commit 5c3bd0a0fb
2 changed files with 10 additions and 1 deletions

View File

@ -1,4 +1,4 @@
*options.txt* For Vim version 7.3e. Last change: 2010 Aug 01
*options.txt* For Vim version 7.3e. Last change: 2010 Aug 04
VIM REFERENCE MANUAL by Bram Moolenaar
@ -665,6 +665,9 @@ A jump table for the options with a short description can be found at |Q_op|.
"single": Use the same width as characters in US-ASCII. This is
expected by most users.
"double": Use twice the width of ASCII characters.
*E834* *E835*
The value "double" cannot be used if 'listchars' or 'fillchars'
contains a character that would be double width.
There are a number of CJK fonts for which the width of glyphs for
those characters are solely based on how many octets they take in