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/search.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/search.c')
-rw-r--r-- | src/nvim/search.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/nvim/search.c b/src/nvim/search.c index 14a7d41300..cb59eb6d04 100644 --- a/src/nvim/search.c +++ b/src/nvim/search.c @@ -4288,7 +4288,7 @@ find_pattern_in_path( if (new_fname != NULL) { /* 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 { /* * Isolate the file name. @@ -4326,7 +4326,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; } @@ -4373,11 +4373,11 @@ find_pattern_in_path( files[depth].lnum = 0; files[depth].matched = FALSE; if (action == ACTION_EXPAND) { - msg_hist_off = TRUE; /* reset in msg_trunc_attr() */ - vim_snprintf((char*)IObuff, IOSIZE, - _("Scanning included file: %s"), - (char *)new_fname); - msg_trunc_attr(IObuff, TRUE, hl_attr(HLF_R)); + msg_hist_off = true; // reset in msg_trunc_attr() + vim_snprintf((char *)IObuff, IOSIZE, + _("Scanning included file: %s"), + (char *)new_fname); + msg_trunc_attr(IObuff, true, HL_ATTR(HLF_R)); } else if (p_verbose >= 5) { verbose_enter(); smsg(_("Searching included file %s"), @@ -4730,7 +4730,7 @@ static void show_pat_in_path(char_u *line, int type, int did_show, int action, F msg_puts((const char *)IObuff); snprintf((char *)IObuff, IOSIZE, "%4ld", *lnum); // Show line nr. // Highlight line numbers. - msg_puts_attr((const char *)IObuff, hl_attr(HLF_N)); + msg_puts_attr((const char *)IObuff, HL_ATTR(HLF_N)); msg_puts(" "); } msg_prt_line(line, FALSE); |