mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 08:18:17 +00:00
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:

committed by
Justin M. Keyes

parent
af863d46a9
commit
5a1a2ba783
@@ -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 */
|
||||
|
Reference in New Issue
Block a user