From ffeffcb6cd056c4cdab79bb97c3cb1e42f68d906 Mon Sep 17 00:00:00 2001 From: Felipe Morales Date: Thu, 18 Jun 2015 23:02:36 -0300 Subject: defaults: enable 'incsearch' by default. #2858 This also updates the documentation about 'incsearch'. Re: https://github.com/neovim/neovim/issues/2676 --- src/nvim/option.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/nvim/option.c b/src/nvim/option.c index 733e7dff48..0ee8fc19b4 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -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} -- cgit