mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 02:46:31 +00:00
refactor(encoding): remove redundant vim_isprintc_strict
This function is identical to vim_isprintc when encoding=utf-8 is used As this is the only internal encoding nvim supports, it is now redundant ref #2905
This commit is contained in:
@@ -3881,7 +3881,7 @@ static char *get_syn_options(char *arg, syn_opt_arg_T *opt, int *conceal_char, i
|
||||
// cchar=?
|
||||
*conceal_char = utf_ptr2char(arg + 6);
|
||||
arg += utfc_ptr2len(arg + 6) - 1;
|
||||
if (!vim_isprintc_strict(*conceal_char)) {
|
||||
if (!vim_isprintc(*conceal_char)) {
|
||||
emsg(_(e_invalid_cchar_value));
|
||||
return NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user