aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/fileio.c
diff options
context:
space:
mode:
authorMichael Reed <m.reed@mykolab.com>2015-04-11 15:12:38 -0400
committerMichael Reed <m.reed@mykolab.com>2015-04-11 15:12:38 -0400
commit9a363ca7a3174d8e278dee29bb8984909eeda693 (patch)
tree13828f1133ac5f2d723894ca82bd3ef0cefb539b /src/nvim/fileio.c
parent8171fc4cbc9cfe368bca7a7e711e198b976bf4f7 (diff)
parent0e65962a6838ef36f8c518f067e753cbf40a87e5 (diff)
downloadrneovim-9a363ca7a3174d8e278dee29bb8984909eeda693.tar.gz
rneovim-9a363ca7a3174d8e278dee29bb8984909eeda693.tar.bz2
rneovim-9a363ca7a3174d8e278dee29bb8984909eeda693.zip
Merge pull request #2398 from mhinz/docs-remove-jobactivity
[RFC] Remove all references to JobActivity
Diffstat (limited to 'src/nvim/fileio.c')
-rw-r--r--src/nvim/fileio.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/nvim/fileio.c b/src/nvim/fileio.c
index 9e2707ffda..233a7d4aac 100644
--- a/src/nvim/fileio.c
+++ b/src/nvim/fileio.c
@@ -6584,16 +6584,15 @@ apply_autocmds_group (
fname = vim_strsave(fname); /* make a copy, so we can change it */
} else {
sfname = vim_strsave(fname);
- /* Don't try expanding FileType, Syntax, FuncUndefined, WindowID,
- * ColorScheme, QuickFixCmd or JobActivity */
- if (event == EVENT_FILETYPE
- || event == EVENT_SYNTAX
+ // don't try expanding the following events
+ if (event == EVENT_COLORSCHEME
+ || event == EVENT_FILETYPE
|| event == EVENT_FUNCUNDEFINED
+ || event == EVENT_QUICKFIXCMDPOST
+ || event == EVENT_QUICKFIXCMDPRE
|| event == EVENT_REMOTEREPLY
|| event == EVENT_SPELLFILEMISSING
- || event == EVENT_QUICKFIXCMDPRE
- || event == EVENT_COLORSCHEME
- || event == EVENT_QUICKFIXCMDPOST
+ || event == EVENT_SYNTAX
|| event == EVENT_TABCLOSED)
fname = vim_strsave(fname);
else