From da457a176be338fcee429684ced8d2dc8b4aefd4 Mon Sep 17 00:00:00 2001 From: Chase Geigle Date: Thu, 5 Mar 2015 00:12:15 -0600 Subject: [PATCH] tui: fall back to underline for undercurl. #2099 closes #2098 --- src/nvim/tui/tui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nvim/tui/tui.c b/src/nvim/tui/tui.c index cdea8673c7..dec2840fdb 100644 --- a/src/nvim/tui/tui.c +++ b/src/nvim/tui/tui.c @@ -239,7 +239,7 @@ static void update_attrs(UI *ui, HlAttrs attrs) if (attrs.italic) { unibi_out(ui, unibi_enter_italics_mode); } - if (attrs.underline) { + if (attrs.underline || attrs.undercurl) { unibi_out(ui, unibi_enter_underline_mode); } if (attrs.reverse) {