diff options
author | Felipe Morales <hel.sheep@gmail.com> | 2015-06-18 17:31:36 -0300 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-06-20 13:49:30 -0400 |
commit | 81847da948b91a77d55fd2245fff3fc5cf8e6310 (patch) | |
tree | 0dc25d95c4a963ec97f4cfb6a062cb31d3c95e26 /src | |
parent | 41c76d9444e3b5ae0ecb35860d4d7378bb19d4a0 (diff) | |
download | rneovim-81847da948b91a77d55fd2245fff3fc5cf8e6310.tar.gz rneovim-81847da948b91a77d55fd2245fff3fc5cf8e6310.tar.bz2 rneovim-81847da948b91a77d55fd2245fff3fc5cf8e6310.zip |
defaults: enable 'autoread' by default #2856
Re: https://github.com/neovim/neovim/issues/2676
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/option.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c index bd6126f238..923c2e3748 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -415,9 +415,9 @@ static vimoption_T {"autoindent", "ai", P_BOOL|P_VI_DEF, (char_u *)&p_ai, PV_AI, {(char_u *)FALSE, (char_u *)0L} SCRIPTID_INIT}, - {"autoread", "ar", P_BOOL|P_VI_DEF, + {"autoread", "ar", P_BOOL|P_VIM, (char_u *)&p_ar, PV_AR, - {(char_u *)FALSE, (char_u *)0L} SCRIPTID_INIT}, + {(char_u *)FALSE, (char_u *)TRUE} SCRIPTID_INIT}, {"autowrite", "aw", P_BOOL|P_VI_DEF, (char_u *)&p_aw, PV_NONE, {(char_u *)FALSE, (char_u *)0L} SCRIPTID_INIT}, |