diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-10-06 08:03:47 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-10-06 09:43:39 -0400 |
commit | d1abd6513e95a41e41ad570038310087e97f3bb1 (patch) | |
tree | 4d7729f81f952db003443111189d5d4f2f75e977 /src/nvim/ex_docmd.c | |
parent | b007e5d8820c613606bdc3afcb49d7eecc14ea0b (diff) | |
download | rneovim-d1abd6513e95a41e41ad570038310087e97f3bb1.tar.gz rneovim-d1abd6513e95a41e41ad570038310087e97f3bb1.tar.bz2 rneovim-d1abd6513e95a41e41ad570038310087e97f3bb1.zip |
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!.
https://github.com/vim/vim/commit/eae8ae1b2b4e532b125077d9838b70d966891be3
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r-- | src/nvim/ex_docmd.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c index 34b4c10d3e..29b63c3f99 100644 --- a/src/nvim/ex_docmd.c +++ b/src/nvim/ex_docmd.c @@ -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) |