summaryrefslogtreecommitdiff
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-12-31 20:46:39 +0100
committerBram Moolenaar <Bram@vim.org>2015-12-31 20:46:39 +0100
commit2d820808cda15b3ad9fe674393d1f1e997453d9e (patch)
treeafc4a6637b5ba4d77a1de2f86d2995352eaae37e /src/ex_cmds.c
parent53076830fea6df737455523f7e235bfe4f79864d (diff)
downloadvim-git-2d820808cda15b3ad9fe674393d1f1e997453d9e.tar.gz
patch 7.4.1010v7.4.1010
Problem: Some developers are unhappy while running tests. Solution: Add a test and some color.
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index f7cc2576a..9da5c0956 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -7767,7 +7767,10 @@ ex_smile(eap)
msg_putchar('\n');
else
for (n = *p++; n > 0; --n)
- msg_putchar(*p);
+ if (*p == 'o' || *p == '$')
+ msg_putchar_attr(*p, hl_attr(HLF_L));
+ else
+ msg_putchar(*p);
msg_clr_eos();
}