summaryrefslogtreecommitdiff
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-03-16 17:23:31 +0100
committerBram Moolenaar <Bram@vim.org>2017-03-16 17:23:31 +0100
commit8820b48654b62472821d9b155fe03ab7ac13a05c (patch)
tree7783a4068aee8368661722d5171d33a4d410d6bb /src/ex_cmds.c
parent40ebc0afda8d8e478d2090133ed6a3cd3d8da3ec (diff)
downloadvim-git-8820b48654b62472821d9b155fe03ab7ac13a05c.tar.gz
patch 8.0.0466: still macros that should be all-capsv8.0.0466
Problem: There are still a few macros that should be all-caps. Solution: Make a few more macros all-caps.
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index df35f52da..0c4dffbc6 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -2889,7 +2889,7 @@ print_line_no_prefix(
{
vim_snprintf((char *)numbuf, sizeof(numbuf),
"%*ld ", number_width(curwin), (long)lnum);
- msg_puts_attr(numbuf, hl_attr(HLF_N)); /* Highlight line nrs */
+ msg_puts_attr(numbuf, HL_ATTR(HLF_N)); /* Highlight line nrs */
}
msg_prt_line(ml_get(lnum), list);
}
@@ -5379,7 +5379,7 @@ do_sub(exarg_T *eap)
msg_no_more = TRUE;
/* write message same highlighting as for
* wait_return */
- smsg_attr(hl_attr(HLF_R),
+ smsg_attr(HL_ATTR(HLF_R),
(char_u *)_("replace with %s (y/n/a/q/l/^E/^Y)?"), sub);
msg_no_more = FALSE;
msg_scroll = i;
@@ -8284,7 +8284,7 @@ ex_smile(exarg_T *eap UNUSED)
else
for (n = *p++; n > 0; --n)
if (*p == 'o' || *p == '$')
- msg_putchar_attr(*p, hl_attr(HLF_L));
+ msg_putchar_attr(*p, HL_ATTR(HLF_L));
else
msg_putchar(*p);
msg_clr_eos();