Mercurial > vim
diff src/vim.h @ 13792:0e9b2971d7c3 v8.0.1768
patch 8.0.1768: SET_NO_HLSEARCH() used in a wrong way
commit https://github.com/vim/vim/commit/451fc7b954906069f1830a8092ad85616049a828
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Apr 27 22:53:07 2018 +0200
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)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 27 Apr 2018 23:00:07 +0200 |
parents | 0d199e59a988 |
children | 378f9f8e6d8f |
line wrap: on
line diff
--- a/src/vim.h +++ b/src/vim.h @@ -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