0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

updated for version 7.4.079

Problem:    A script cannot detect whether 'hlsearch' highlighting is actually
            displayed.
Solution:   Add the "v:hlsearch" variable. (ZyX)
This commit is contained in:
Bram Moolenaar
2013-11-08 04:30:20 +01:00
parent e5878f4be9
commit 8050efa07d
16 changed files with 97 additions and 18 deletions

View File

@@ -7447,7 +7447,7 @@ next_search_hl(win, shl, lnum, mincol)
{
/* don't free regprog in the match list, it's a copy */
vim_regfree(shl->rm.regprog);
no_hlsearch = TRUE;
SET_NO_HLSEARCH(TRUE);
}
shl->rm.regprog = NULL;
shl->lnum = 0;