aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/misc1.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2018-06-10 06:24:00 -0400
committerJustin M. Keyes <justinkz@gmail.com>2018-06-10 12:24:00 +0200
commitbbb88607c9cc60a6fa332382e9a8cc0c8726c03f (patch)
treecb749376d81a1544fdc441713aa54b7a741a8155 /src/nvim/misc1.c
parentb94b59e4e88411ba7c7802827c872c1ffb896169 (diff)
downloadrneovim-bbb88607c9cc60a6fa332382e9a8cc0c8726c03f.tar.gz
rneovim-bbb88607c9cc60a6fa332382e9a8cc0c8726c03f.tar.bz2
rneovim-bbb88607c9cc60a6fa332382e9a8cc0c8726c03f.zip
vim-patch:8.0.0466: still macros that should be all-caps (#8510)
Problem: There are still a few macros that should be all-caps. Solution: Make a few more macros all-caps. https://github.com/vim/vim/commit/8820b48654b62472821d9b155fe03ab7ac13a05c
Diffstat (limited to 'src/nvim/misc1.c')
-rw-r--r--src/nvim/misc1.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c
index 70733e5564..a5da9d3220 100644
--- a/src/nvim/misc1.c
+++ b/src/nvim/misc1.c
@@ -2219,8 +2219,8 @@ change_warning (
msg_start();
if (msg_row == Rows - 1)
msg_col = col;
- msg_source(hl_attr(HLF_W));
- MSG_PUTS_ATTR(_(w_readonly), hl_attr(HLF_W) | MSG_HIST);
+ msg_source(HL_ATTR(HLF_W));
+ MSG_PUTS_ATTR(_(w_readonly), HL_ATTR(HLF_W) | MSG_HIST);
set_vim_var_string(VV_WARNINGMSG, _(w_readonly), -1);
msg_clr_eos();
(void)msg_end();
@@ -2260,7 +2260,7 @@ int ask_yesno(const char *const str, const bool direct)
int r = ' ';
while (r != 'y' && r != 'n') {
// Same highlighting as for wait_return.
- smsg_attr(hl_attr(HLF_R), "%s (y/n)?", str);
+ smsg_attr(HL_ATTR(HLF_R), "%s (y/n)?", str);
if (direct) {
r = get_keystroke();
} else {
@@ -2566,8 +2566,8 @@ void vim_beep(unsigned val)
/* When 'verbose' is set and we are sourcing a script or executing a
* function give the user a hint where the beep comes from. */
if (vim_strchr(p_debug, 'e') != NULL) {
- msg_source(hl_attr(HLF_W));
- msg_attr(_("Beep!"), hl_attr(HLF_W));
+ msg_source(HL_ATTR(HLF_W));
+ msg_attr(_("Beep!"), HL_ATTR(HLF_W));
}
}
}