From 07b209b1fec19d4e8d7e5390c664d582d6a3145c Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Mon, 2 Sep 2019 15:56:29 -0400 Subject: 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) https://github.com/vim/vim/commit/451fc7b954906069f1830a8092ad85616049a828 --- src/nvim/vim.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/nvim/vim.h') diff --git a/src/nvim/vim.h b/src/nvim/vim.h index 60737014b3..51f143a3d7 100644 --- a/src/nvim/vim.h +++ b/src/nvim/vim.h @@ -296,9 +296,6 @@ enum { FOLD_TEXT_LEN = 51 }; //!< buffer size for get_foldtext() #include "nvim/buffer_defs.h" // buffer and windows #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 && p_hls) - // Used for flags in do_in_path() #define DIP_ALL 0x01 // all matches, not just the first one #define DIP_DIR 0x02 // find directories instead of files -- cgit