diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2015-12-12 17:43:23 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-12-12 17:43:23 -0500 |
commit | cc203e4b93d920cb749f80336504d7e6df0081a2 (patch) | |
tree | bf8837d4b3d9de8dd26f1a3cd5a6de51c84e1567 /src/nvim/fileio.c | |
parent | f37ad6af3601993e9d12a7761bf60b41a640f53d (diff) | |
parent | 1b56425662068a40cf3a19cd47ac79d7511840b5 (diff) | |
download | rneovim-cc203e4b93d920cb749f80336504d7e6df0081a2.tar.gz rneovim-cc203e4b93d920cb749f80336504d7e6df0081a2.tar.bz2 rneovim-cc203e4b93d920cb749f80336504d7e6df0081a2.zip |
Merge pull request #3753 from watiko/vim-7.4.790
Vim 7.4.{786,787,789,790}
Diffstat (limited to 'src/nvim/fileio.c')
-rw-r--r-- | src/nvim/fileio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c index 11673785fd..bc5b08ef24 100644 --- a/src/nvim/fileio.c +++ b/src/nvim/fileio.c @@ -6407,7 +6407,7 @@ apply_autocmds_group ( * invalid. */ if (fname_io == NULL) { - if (event == EVENT_COLORSCHEME) + if (event == EVENT_COLORSCHEME || event == EVENT_OPTIONSET) autocmd_fname = NULL; else if (fname != NULL && *fname != NUL) autocmd_fname = fname; @@ -6457,6 +6457,7 @@ apply_autocmds_group ( if (event == EVENT_COLORSCHEME || event == EVENT_FILETYPE || event == EVENT_FUNCUNDEFINED + || event == EVENT_OPTIONSET || event == EVENT_QUICKFIXCMDPOST || event == EVENT_QUICKFIXCMDPRE || event == EVENT_REMOTEREPLY |