:digraphs : highlight with hl-SpecialKey #2690

closes #2690
This commit is contained in:
Jakson Alves de Aquino
2015-05-18 00:03:17 -04:00
committed by Justin M. Keyes
parent 5d6732ff09
commit 58b210e114
2 changed files with 44 additions and 0 deletions

View File

@@ -1700,6 +1700,9 @@ static void printdigraph(digr_T *dp)
*p++ = dp->char1;
*p++ = dp->char2;
*p++ = ' ';
*p = NUL;
msg_outtrans(buf);
p = buf;
// add a space to draw a composing char on
if (utf_iscomposing(dp->result)) {
@@ -1707,6 +1710,9 @@ static void printdigraph(digr_T *dp)
}
p += (*mb_char2bytes)(dp->result, p);
*p = NUL;
msg_outtrans_attr(buf, hl_attr(HLF_8));
p = buf;
if (char2cells(dp->result) == 1) {
*p++ = ' ';
}