mirror of
https://github.com/neovim/neovim.git
synced 2025-09-12 06:18:16 +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:
@@ -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
|
||||
|
Reference in New Issue
Block a user