0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.3.104

Problem:    Conceal: using Tab for cchar causes problems. (ZyX)
Solution:   Do not accept a control character for cchar.
This commit is contained in:
Bram Moolenaar
2011-01-22 00:58:20 +01:00
parent 164c60f5b1
commit 4124e72373
2 changed files with 9 additions and 0 deletions

View File

@@ -4537,6 +4537,13 @@ get_syn_options(arg, opt, conceal_char)
;
#endif
}
#ifdef FEAT_CONCEAL
if (!vim_isprintc_strict(*conceal_char))
{
EMSG(_("E844: invalid cchar value"));
return NULL;
}
#endif
arg = skipwhite(arg + 7);
}
else

View File

@@ -714,6 +714,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
104,
/**/
103,
/**/