vim-patch:7.4.537 #2509

Problem:    Value of v:hlsearch reflects an internal variable.
Solution:   Make the value reflect whether search highlighting is actually
            displayed. (Christian Brabandt)

https://github.com/vim/vim/releases/tag/v7-4-537
This commit is contained in:
David Bürgin
2015-04-25 20:01:33 +02:00
committed by Justin M. Keyes
parent af863d46a9
commit 5a1a2ba783
4 changed files with 10 additions and 6 deletions

View File

@@ -351,6 +351,6 @@ enum {
#include "nvim/ex_cmds_defs.h" /* Ex command defines */
# define SET_NO_HLSEARCH(flag) no_hlsearch = (flag); set_vim_var_nr( \
VV_HLSEARCH, !no_hlsearch)
VV_HLSEARCH, !no_hlsearch && p_hls)
#endif /* NVIM_VIM_H */