vim-patch:8.1.0586: :digraph output is not easy to read

Problem:    :digraph output is not easy to read.
Solution:   Add highlighting for :digraphs. (Marcin Szamotulski, closes vim/vim#3572)
            Also add section headers for :digraphs!.
eae8ae1b2b
This commit is contained in:
Jan Edmund Lazo
2019-10-06 08:03:47 -04:00
parent b007e5d882
commit d1abd6513e
5 changed files with 170 additions and 85 deletions

View File

@@ -10010,10 +10010,11 @@ static void ex_setfiletype(exarg_T *eap)
static void ex_digraphs(exarg_T *eap)
{
if (*eap->arg != NUL)
if (*eap->arg != NUL) {
putdigraph(eap->arg);
else
listdigraphs();
} else {
listdigraphs(eap->forceit);
}
}
static void ex_set(exarg_T *eap)