defaults: enable 'hlsearch' by default. #2859

Also update the documentation regarding the option.

Re: https://github.com/neovim/neovim/issues/2676
This commit is contained in:
Justin M. Keyes
2015-06-20 16:40:03 -04:00
parent ffeffcb6cd
commit 9ebb5c681b
6 changed files with 15 additions and 13 deletions

View File

@@ -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},