0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -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

@@ -1864,9 +1864,10 @@ typedef int proftime_T; /* dummy for function prototypes */
#define VV_MOUSE_COL 51
#define VV_OP 52
#define VV_SEARCHFORWARD 53
#define VV_OLDFILES 54
#define VV_WINDOWID 55
#define VV_LEN 56 /* number of v: vars */
#define VV_HLSEARCH 54
#define VV_OLDFILES 55
#define VV_WINDOWID 56
#define VV_LEN 57 /* number of v: vars */
#ifdef FEAT_CLIPBOARD
@@ -2246,4 +2247,10 @@ typedef int VimClipboard; /* This is required for the prototypes. */
/* Character used as separated in autoload function/variable names. */
#define AUTOLOAD_CHAR '#'
#ifdef FEAT_EVAL
# define SET_NO_HLSEARCH(flag) no_hlsearch = (flag); set_vim_var_nr(VV_HLSEARCH, !no_hlsearch)
#else
# define SET_NO_HLSEARCH(flag) no_hlsearch = (flag)
#endif
#endif /* VIM__H */