commit | 8050efa07d7a66e8e2e88253d079a106a7f2601a | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Nov 08 04:30:20 2013 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Nov 08 04:30:20 2013 +0100 |
tree | 237a229f5815f2a54523b6122691b52dd2d0cadb | |
parent | e5878f4be9f0cb6719220fa17f113fa24b1f3039 [diff] [blame] |
updated for version 7.4.079 Problem: A script cannot detect whether 'hlsearch' highlighting is actually displayed. Solution: Add the "v:hlsearch" variable. (ZyX)
diff --git a/src/screen.c b/src/screen.c index a72ecaf..f738e2b 100644 --- a/src/screen.c +++ b/src/screen.c
@@ -7447,7 +7447,7 @@ { /* 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;