mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
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 #2850)
This commit is contained in:
@@ -2458,12 +2458,6 @@ typedef enum {
|
||||
/* 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 && p_hls)
|
||||
#else
|
||||
# define SET_NO_HLSEARCH(flag) no_hlsearch = (flag)
|
||||
#endif
|
||||
|
||||
#ifdef FEAT_JOB_CHANNEL
|
||||
# define MAX_OPEN_CHANNELS 10
|
||||
#else
|
||||
|
Reference in New Issue
Block a user