defaults: enable 'incsearch' by default. #2858

This also updates the documentation about 'incsearch'.

Re: https://github.com/neovim/neovim/issues/2676
This commit is contained in:
Felipe Morales
2015-06-18 23:02:36 -03:00
committed by Justin M. Keyes
parent 6cfe98c66e
commit ffeffcb6cd
5 changed files with 14 additions and 17 deletions

View File

@@ -934,9 +934,9 @@ static vimoption_T
(char_u *)&p_inex, PV_INEX,
{(char_u *)"", (char_u *)0L}
SCRIPTID_INIT},
{"incsearch", "is", P_BOOL|P_VI_DEF|P_VIM,
{"incsearch", "is", P_BOOL|P_VIM,
(char_u *)&p_is, PV_NONE,
{(char_u *)FALSE, (char_u *)0L} SCRIPTID_INIT},
{(char_u *)FALSE, (char_u *)TRUE} SCRIPTID_INIT},
{"indentexpr", "inde", P_STRING|P_ALLOCED|P_VI_DEF|P_VIM,
(char_u *)&p_inde, PV_INDE,
{(char_u *)"", (char_u *)0L}