summaryrefslogtreecommitdiff
path: root/src/edit.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/edit.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/edit.c')
-rw-r--r--src/edit.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/edit.c b/src/edit.c
index 35fa23b7d..cdde11e40 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -1771,7 +1771,7 @@ edit_putchar(int c, int highlight)
update_topline(); /* just in case w_topline isn't valid */
validate_cursor();
if (highlight)
- attr = hl_attr(HLF_8);
+ attr = HL_ATTR(HLF_8);
else
attr = 0;
pc_row = W_WINROW(curwin) + curwin->w_wrow;
@@ -2256,7 +2256,7 @@ has_compl_option(int dict_opt)
edit_submode = NULL;
msg_attr(dict_opt ? (char_u *)_("'dictionary' option is empty")
: (char_u *)_("'thesaurus' option is empty"),
- hl_attr(HLF_E));
+ HL_ATTR(HLF_E));
if (emsg_silent == 0)
{
vim_beep(BO_COMPL);
@@ -3252,7 +3252,7 @@ ins_compl_files(
{
vim_snprintf((char *)IObuff, IOSIZE,
_("Scanning dictionary: %s"), (char *)files[i]);
- (void)msg_trunc_attr(IObuff, TRUE, hl_attr(HLF_R));
+ (void)msg_trunc_attr(IObuff, TRUE, HL_ATTR(HLF_R));
}
if (fp != NULL)
@@ -4344,7 +4344,7 @@ ins_compl_get_exp(pos_T *ini)
: ins_buf->b_sfname == NULL
? ins_buf->b_fname
: ins_buf->b_sfname);
- (void)msg_trunc_attr(IObuff, TRUE, hl_attr(HLF_R));
+ (void)msg_trunc_attr(IObuff, TRUE, HL_ATTR(HLF_R));
}
else if (*e_cpt == NUL)
break;
@@ -4374,7 +4374,7 @@ ins_compl_get_exp(pos_T *ini)
{
type = CTRL_X_TAGS;
vim_snprintf((char *)IObuff, IOSIZE, _("Scanning tags."));
- (void)msg_trunc_attr(IObuff, TRUE, hl_attr(HLF_R));
+ (void)msg_trunc_attr(IObuff, TRUE, HL_ATTR(HLF_R));
}
else
type = -1;
@@ -5693,7 +5693,7 @@ ins_complete(int c, int enable_pum)
if (!p_smd)
msg_attr(edit_submode_extra,
edit_submode_highl < HLF_COUNT
- ? hl_attr(edit_submode_highl) : 0);
+ ? HL_ATTR(edit_submode_highl) : 0);
}
else
msg_clr_cmdline(); /* necessary for "noshowmode" */