aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFelipe Morales <hel.sheep@gmail.com>2015-06-18 23:02:36 -0300
committerJustin M. Keyes <justinkz@gmail.com>2015-06-20 16:19:16 -0400
commitffeffcb6cd056c4cdab79bb97c3cb1e42f68d906 (patch)
tree4e5b077dfb7fef21171b722a7be7548c2fb97a7a /src
parent6cfe98c66e1f891497b2bf5aaba8c750d3037703 (diff)
downloadrneovim-ffeffcb6cd056c4cdab79bb97c3cb1e42f68d906.tar.gz
rneovim-ffeffcb6cd056c4cdab79bb97c3cb1e42f68d906.tar.bz2
rneovim-ffeffcb6cd056c4cdab79bb97c3cb1e42f68d906.zip
defaults: enable 'incsearch' by default. #2858
This also updates the documentation about 'incsearch'. Re: https://github.com/neovim/neovim/issues/2676
Diffstat (limited to 'src')
-rw-r--r--src/nvim/option.c4
1 files changed, 2 insertions, 2 deletions
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}