mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 09:18:19 +00:00
Remove some occrrences of enc_utf8 and has_mbyte
Removing uses and related dead code in the locallity of changes of the two parent commits.
This commit is contained in:
@@ -4101,13 +4101,9 @@ get_syn_options(
|
||||
return NULL;
|
||||
}
|
||||
} else if (flagtab[fidx].argtype == 11 && arg[5] == '=') {
|
||||
/* cchar=? */
|
||||
if (has_mbyte) {
|
||||
*conceal_char = utf_ptr2char(arg + 6);
|
||||
arg += mb_ptr2len(arg + 6) - 1;
|
||||
} else {
|
||||
*conceal_char = arg[6];
|
||||
}
|
||||
// cchar=?
|
||||
*conceal_char = utf_ptr2char(arg + 6);
|
||||
arg += mb_ptr2len(arg + 6) - 1;
|
||||
if (!vim_isprintc_strict(*conceal_char)) {
|
||||
EMSG(_("E844: invalid cchar value"));
|
||||
return NULL;
|
||||
|
Reference in New Issue
Block a user