diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2018-06-10 06:24:00 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-06-10 12:24:00 +0200 |
commit | bbb88607c9cc60a6fa332382e9a8cc0c8726c03f (patch) | |
tree | cb749376d81a1544fdc441713aa54b7a741a8155 /src/nvim/ex_cmds.c | |
parent | b94b59e4e88411ba7c7802827c872c1ffb896169 (diff) | |
download | rneovim-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/ex_cmds.c')
-rw-r--r-- | src/nvim/ex_cmds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c index 1d98f171b4..4e0bdb777c 100644 --- a/src/nvim/ex_cmds.c +++ b/src/nvim/ex_cmds.c @@ -1500,7 +1500,7 @@ void print_line_no_prefix(linenr_T lnum, int use_number, int list) if (curwin->w_p_nu || use_number) { vim_snprintf(numbuf, sizeof(numbuf), "%*" PRIdLINENR " ", number_width(curwin), 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); } @@ -3635,7 +3635,7 @@ static buf_T *do_sub(exarg_T *eap, proftime_T timeout, msg_no_more = TRUE; /* write message same highlighting as for * wait_return */ - smsg_attr(hl_attr(HLF_R), + smsg_attr(HL_ATTR(HLF_R), _("replace with %s (y/n/a/q/l/^E/^Y)?"), sub); msg_no_more = FALSE; msg_scroll = i; |