mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 09:18:19 +00:00
vim-patch:7.4.1604
Problem: Although emoji characters are ambiguous width, best is to treat
them as full width.
Solution: Update the Unicode character tables. Add the 'emoji' options.
(Yasuhiro Matsumoto)
3848e00e01
This commit is contained in:
@@ -2520,7 +2520,7 @@ did_set_string_option (
|
||||
errmsg = e_invarg;
|
||||
}
|
||||
/* 'ambiwidth' */
|
||||
else if (varp == &p_ambw) {
|
||||
else if (varp == &p_ambw || (bool *)varp == &p_emoji) {
|
||||
if (check_opt_strings(p_ambw, p_ambw_values, FALSE) != OK)
|
||||
errmsg = e_invarg;
|
||||
else if (set_chars_option(&p_lcs) != NULL)
|
||||
|
Reference in New Issue
Block a user