diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2015-06-20 16:40:03 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-06-20 16:40:03 -0400 |
commit | 9ebb5c681b92c3c26171aa5514cd18a17dd62bad (patch) | |
tree | 09d51fae3c962dfc37fbafa96c50c8ec4ef71b1a /src | |
parent | ffeffcb6cd056c4cdab79bb97c3cb1e42f68d906 (diff) | |
download | rneovim-9ebb5c681b92c3c26171aa5514cd18a17dd62bad.tar.gz rneovim-9ebb5c681b92c3c26171aa5514cd18a17dd62bad.tar.bz2 rneovim-9ebb5c681b92c3c26171aa5514cd18a17dd62bad.zip |
defaults: enable 'hlsearch' by default. #2859
Also update the documentation regarding the option.
Re: https://github.com/neovim/neovim/issues/2676
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/option.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c index 0ee8fc19b4..9eb581909e 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -880,9 +880,9 @@ static vimoption_T {"hkmapp", "hkp", P_BOOL|P_VI_DEF|P_VIM, (char_u *)&p_hkmapp, PV_NONE, {(char_u *)FALSE, (char_u *)0L} SCRIPTID_INIT}, - {"hlsearch", "hls", P_BOOL|P_VI_DEF|P_VIM|P_RALL, + {"hlsearch", "hls", P_BOOL|P_VIM|P_RALL, (char_u *)&p_hls, PV_NONE, - {(char_u *)FALSE, (char_u *)0L} SCRIPTID_INIT}, + {(char_u *)FALSE, (char_u *)TRUE} SCRIPTID_INIT}, {"icon", NULL, P_BOOL|P_VI_DEF, (char_u *)&p_icon, PV_NONE, {(char_u *)FALSE, (char_u *)0L} SCRIPTID_INIT}, |