Mercurial > vim
diff src/ex_cmds.c @ 11158:501f46f7644c v8.0.0466
patch 8.0.0466: still macros that should be all-caps
commit https://github.com/vim/vim/commit/8820b48654b62472821d9b155fe03ab7ac13a05c
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Mar 16 17:23:31 2017 +0100
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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 16 Mar 2017 17:30:06 +0100 |
parents | e85aa0e46ca5 |
children | 918942a3b0ef |
line wrap: on
line diff
--- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -2889,7 +2889,7 @@ print_line_no_prefix( { vim_snprintf((char *)numbuf, sizeof(numbuf), "%*ld ", number_width(curwin), (long)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); } @@ -5379,7 +5379,7 @@ do_sub(exarg_T *eap) msg_no_more = TRUE; /* write message same highlighting as for * wait_return */ - smsg_attr(hl_attr(HLF_R), + smsg_attr(HL_ATTR(HLF_R), (char_u *)_("replace with %s (y/n/a/q/l/^E/^Y)?"), sub); msg_no_more = FALSE; msg_scroll = i; @@ -8284,7 +8284,7 @@ ex_smile(exarg_T *eap UNUSED) else for (n = *p++; n > 0; --n) if (*p == 'o' || *p == '$') - msg_putchar_attr(*p, hl_attr(HLF_L)); + msg_putchar_attr(*p, HL_ATTR(HLF_L)); else msg_putchar(*p); msg_clr_eos();