1
0
forked from aniani/vim

patch 8.0.0466: still macros that should be all-caps

Problem:    There are still a few macros that should be all-caps.
Solution:   Make a few more macros all-caps.
This commit is contained in:
Bram Moolenaar
2017-03-16 17:23:31 +01:00
parent 40ebc0afda
commit 8820b48654
33 changed files with 259 additions and 264 deletions

View File

@@ -5013,7 +5013,7 @@ find_pattern_in_path(
{
/* using "new_fname" is more reliable, e.g., when
* 'includeexpr' is set. */
msg_outtrans_attr(new_fname, hl_attr(HLF_D));
msg_outtrans_attr(new_fname, HL_ATTR(HLF_D));
}
else
{
@@ -5059,7 +5059,7 @@ find_pattern_in_path(
}
save_char = p[i];
p[i] = NUL;
msg_outtrans_attr(p, hl_attr(HLF_D));
msg_outtrans_attr(p, HL_ATTR(HLF_D));
p[i] = save_char;
}
@@ -5124,7 +5124,7 @@ find_pattern_in_path(
vim_snprintf((char*)IObuff, IOSIZE,
_("Scanning included file: %s"),
(char *)new_fname);
msg_trunc_attr(IObuff, TRUE, hl_attr(HLF_R));
msg_trunc_attr(IObuff, TRUE, HL_ATTR(HLF_R));
}
else
#endif
@@ -5572,7 +5572,7 @@ show_pat_in_path(
msg_puts(IObuff);
sprintf((char *)IObuff, "%4ld", *lnum); /* show line nr */
/* Highlight line numbers */
msg_puts_attr(IObuff, hl_attr(HLF_N));
msg_puts_attr(IObuff, HL_ATTR(HLF_N));
MSG_PUTS(" ");
}
msg_prt_line(line, FALSE);