mirror of
https://github.com/neovim/neovim.git
synced 2025-09-11 22:08:18 +00:00
vim-patch:8.0.1768: SET_NO_HLSEARCH() used in a wrong way
Problem: SET_NO_HLSEARCH() used in a wrong way.
Solution: Make it a function. (suggested by Dominique Pelle,
closes vim/vim#2850)
451fc7b954
This commit is contained in:
@@ -3959,7 +3959,7 @@ static char *set_bool_option(const int opt_idx, char_u *const varp,
|
||||
redraw_all_later(SOME_VALID);
|
||||
} else if ((int *)varp == &p_hls) {
|
||||
// when 'hlsearch' is set or reset: reset no_hlsearch
|
||||
SET_NO_HLSEARCH(false);
|
||||
set_no_hlsearch(false);
|
||||
} else if ((int *)varp == &curwin->w_p_scb) {
|
||||
// when 'scrollbind' is set: snapshot the current position to avoid a jump
|
||||
// at the end of normal_cmd()
|
||||
|
Reference in New Issue
Block a user