From 8e3f67f2a0166994925af75c0efa972d76ea82de Mon Sep 17 00:00:00 2001 From: Felipe Morales Date: Thu, 18 Jun 2015 17:02:38 -0300 Subject: defaults: enable 'autoindent' #2857 Re: https://github.com/neovim/neovim/issues/2676 --- src/nvim/option.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nvim/option.c') diff --git a/src/nvim/option.c b/src/nvim/option.c index 923c2e3748..d2361c1875 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -412,9 +412,9 @@ static vimoption_T {"autochdir", "acd", P_BOOL|P_VI_DEF, (char_u *)&p_acd, PV_NONE, {(char_u *)FALSE, (char_u *)0L} SCRIPTID_INIT}, - {"autoindent", "ai", P_BOOL|P_VI_DEF, + {"autoindent", "ai", P_BOOL, (char_u *)&p_ai, PV_AI, - {(char_u *)FALSE, (char_u *)0L} SCRIPTID_INIT}, + {(char_u *)FALSE, (char_u *)TRUE} SCRIPTID_INIT}, {"autoread", "ar", P_BOOL|P_VIM, (char_u *)&p_ar, PV_AR, {(char_u *)FALSE, (char_u *)TRUE} SCRIPTID_INIT}, -- cgit