From fa0f1222212704c93ab828b876bda5e9e1cb507e Mon Sep 17 00:00:00 2001 From: Felipe Morales Date: Sat, 16 May 2015 02:07:56 -0300 Subject: Remove 'octal' from default value for '&nrformats' #2668 over "07" should increment to "08" by default. Re: https://github.com/neovim/neovim/issues/1664 Reviewed-by: Justin M. Keyes Reviewed-by: Scott Prager Reviewed-by: Michael Reed --- 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 4911377c06..b3789e0e5b 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -1136,9 +1136,9 @@ static vimoption_T {"mousetime", "mouset", P_NUM|P_VI_DEF, (char_u *)&p_mouset, PV_NONE, {(char_u *)500L, (char_u *)0L} SCRIPTID_INIT}, - {"nrformats", "nf", P_STRING|P_ALLOCED|P_VI_DEF|P_COMMA|P_NODUP, + {"nrformats", "nf", P_STRING|P_ALLOCED|P_VIM|P_COMMA|P_NODUP, (char_u *)&p_nf, PV_NF, - {(char_u *)"octal,hex", (char_u *)0L} + {(char_u *)"octal,hex", (char_u *)"hex"} SCRIPTID_INIT}, {"number", "nu", P_BOOL|P_VI_DEF|P_RWIN, VAR_WIN, PV_NU, -- cgit