diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-09-02 15:56:29 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-09-02 18:40:56 -0400 |
commit | 07b209b1fec19d4e8d7e5390c664d582d6a3145c (patch) | |
tree | 3236faae42a071f619a24137e6be6b56734189d4 /src/nvim/globals.h | |
parent | 6434a0bf99d1733a295844813db201d533e65883 (diff) | |
download | rneovim-07b209b1fec19d4e8d7e5390c664d582d6a3145c.tar.gz rneovim-07b209b1fec19d4e8d7e5390c664d582d6a3145c.tar.bz2 rneovim-07b209b1fec19d4e8d7e5390c664d582d6a3145c.zip |
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
Diffstat (limited to 'src/nvim/globals.h')
-rw-r--r-- | src/nvim/globals.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/globals.h b/src/nvim/globals.h index ad321963fe..9a7b5425bf 100644 --- a/src/nvim/globals.h +++ b/src/nvim/globals.h @@ -862,8 +862,8 @@ EXTERN char_u wim_flags[4]; # define STL_IN_TITLE 2 EXTERN int stl_syntax INIT(= 0); -/* don't use 'hlsearch' temporarily */ -EXTERN int no_hlsearch INIT(= FALSE); +// don't use 'hlsearch' temporarily +EXTERN bool no_hlsearch INIT(= false); /* Page number used for %N in 'pageheader' and 'guitablabel'. */ EXTERN linenr_T printer_page_num; |