1
0
forked from aniani/vim

updated for version 7.0060

This commit is contained in:
Bram Moolenaar
2005-03-15 22:50:43 +00:00
parent f36d3693dd
commit 5b743bfc4d
3 changed files with 18 additions and 34 deletions

View File

@@ -13024,8 +13024,13 @@ f_synIDattr(argvars, rettv)
p = highlight_has_attr(id, HL_STANDOUT, modec);
break;
case 'u': /* underline */
p = highlight_has_attr(id, HL_UNDERLINE, modec);
case 'u':
if (STRLEN(what) <= 5 || TOLOWER_ASC(what[5]) != 'c')
/* underline */
p = highlight_has_attr(id, HL_UNDERLINE, modec);
else
/* undercurl */
p = highlight_has_attr(id, HL_UNDERCURL, modec);
break;
}