mirror of
https://github.com/vim/vim.git
synced 2025-10-13 06:54:15 -04:00
patch 8.2.1536: cannot get the class of a character; emoji widths are wrong
Problem: Cannot get the class of a character; emoji widths are wrong in some environments. Solution: Add charclass(). Update some emoji widths. Add script to check emoji widths.
This commit is contained in:
@@ -564,6 +564,7 @@ static funcentry_T global_functions[] =
|
||||
{"ch_status", 1, 2, FEARG_1, ret_string, JOB_FUNC(f_ch_status)},
|
||||
{"changenr", 0, 0, 0, ret_number, f_changenr},
|
||||
{"char2nr", 1, 2, FEARG_1, ret_number, f_char2nr},
|
||||
{"charclass", 1, 1, FEARG_1, ret_number, f_charclass},
|
||||
{"chdir", 1, 1, FEARG_1, ret_string, f_chdir},
|
||||
{"cindent", 1, 1, FEARG_1, ret_number, f_cindent},
|
||||
{"clearmatches", 0, 1, FEARG_1, ret_void, f_clearmatches},
|
||||
|
Reference in New Issue
Block a user