summaryrefslogtreecommitdiff
path: root/src/syntax.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/syntax.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/syntax.c')
-rw-r--r--src/syntax.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/syntax.c b/src/syntax.c
index d4aff5279..027f2a6ae 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -4070,7 +4070,7 @@ syn_list_one(
{0, NULL}
};
- attr = hl_attr(HLF_D); /* highlight like directories */
+ attr = HL_ATTR(HLF_D); /* highlight like directories */
/* list the keywords for "id" */
if (!syncing)
@@ -4181,11 +4181,11 @@ syn_list_cluster(int id)
if (SYN_CLSTR(curwin->w_s)[id].scl_list != NULL)
{
put_id_list((char_u *)"cluster", SYN_CLSTR(curwin->w_s)[id].scl_list,
- hl_attr(HLF_D));
+ HL_ATTR(HLF_D));
}
else
{
- msg_puts_attr((char_u *)"cluster", hl_attr(HLF_D));
+ msg_puts_attr((char_u *)"cluster", HL_ATTR(HLF_D));
msg_puts((char_u *)"=NONE");
}
}
@@ -8999,7 +8999,7 @@ highlight_list_one(int id)
{
(void)syn_list_header(didh, 9999, id);
didh = TRUE;
- msg_puts_attr((char_u *)"links to", hl_attr(HLF_D));
+ msg_puts_attr((char_u *)"links to", HL_ATTR(HLF_D));
msg_putchar(' ');
msg_outtrans(HL_TABLE()[HL_TABLE()[id - 1].sg_link - 1].sg_name);
}
@@ -9056,8 +9056,8 @@ highlight_list_arg(
{
if (*name != NUL)
{
- MSG_PUTS_ATTR(name, hl_attr(HLF_D));
- MSG_PUTS_ATTR("=", hl_attr(HLF_D));
+ MSG_PUTS_ATTR(name, HL_ATTR(HLF_D));
+ MSG_PUTS_ATTR("=", HL_ATTR(HLF_D));
}
msg_outtrans(ts);
}
@@ -9457,7 +9457,7 @@ syn_add_group(char_u *name)
{
/* This is an error, but since there previously was no check only
* give a warning. */
- msg_source(hl_attr(HLF_W));
+ msg_source(HL_ATTR(HLF_W));
MSG(_("W18: Invalid character in group name"));
break;
}
@@ -9932,7 +9932,7 @@ highlight_list(void)
int i;
for (i = 10; --i >= 0; )
- highlight_list_two(i, hl_attr(HLF_D));
+ highlight_list_two(i, HL_ATTR(HLF_D));
for (i = 40; --i >= 0; )
highlight_list_two(99, 0);
}