Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
13791:3c843dbf1c91 | 13792:0e9b2971d7c3 |
---|---|
2456 #define GREG_LIST 4 /* Return list */ | 2456 #define GREG_LIST 4 /* Return list */ |
2457 | 2457 |
2458 /* Character used as separated in autoload function/variable names. */ | 2458 /* Character used as separated in autoload function/variable names. */ |
2459 #define AUTOLOAD_CHAR '#' | 2459 #define AUTOLOAD_CHAR '#' |
2460 | 2460 |
2461 #ifdef FEAT_EVAL | |
2462 # define SET_NO_HLSEARCH(flag) no_hlsearch = (flag); set_vim_var_nr(VV_HLSEARCH, !no_hlsearch && p_hls) | |
2463 #else | |
2464 # define SET_NO_HLSEARCH(flag) no_hlsearch = (flag) | |
2465 #endif | |
2466 | |
2467 #ifdef FEAT_JOB_CHANNEL | 2461 #ifdef FEAT_JOB_CHANNEL |
2468 # define MAX_OPEN_CHANNELS 10 | 2462 # define MAX_OPEN_CHANNELS 10 |
2469 #else | 2463 #else |
2470 # define MAX_OPEN_CHANNELS 0 | 2464 # define MAX_OPEN_CHANNELS 0 |
2471 #endif | 2465 #endif |