Created
April 16, 2017 17:23
-
-
Save h-east/64994cf789ba6ad377fd7c8cbc8b5080 to your computer and use it in GitHub Desktop.
Probably, maybe fix 'ambiwidth' problem for the patch Vim 8.0.0543 or later
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/term.c b/src/term.c | |
index 85b1ff5..b623eb9 100644 | |
--- a/src/term.c | |
+++ b/src/term.c | |
@@ -3314,7 +3314,7 @@ may_req_ambiguous_char_width(void) | |
{ | |
if (u7_status == U7_GET | |
&& can_get_termresponse() | |
- && starting == 0 | |
+// && starting == 0 | |
&& *T_U7 != NUL | |
&& !option_was_set((char_u *)"ambiwidth")) | |
{ |
./vim -Nu NONE --cmd "set enc=utf-8" -c "set ambw=double" hh.txt
Unicode East Asian Ambiguous Character with set to Wide.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Memo:
East Asian Ambiguous Width Character is no longer displayed correctly from patch 8.0.0563.
At this point, it is only on the Terminal App and iTerm2 of macOS that I can confirm this phenomenon.