updated for version 7.0060
diff --git a/src/eval.c b/src/eval.c
index 42556b5..52d0a14 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -13024,8 +13024,13 @@
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;
}