diff src/globals.h @ 15634:746b95fd25ad v8.1.0825

patch 8.1.0825: code for autocommands is mixed with file I/O code commit https://github.com/vim/vim/commit/3e460fd8b72db905fbf9f01b00371384ffc415b8 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 26 16:21:07 2019 +0100 patch 8.1.0825: code for autocommands is mixed with file I/O code Problem: Code for autocommands is mixed with file I/O code. Solution: Move autocommand code to a separate file. (Yegappan Lakshmanan, closes #3863)
author Bram Moolenaar <Bram@vim.org>
date Sat, 26 Jan 2019 16:30:13 +0100
parents 62b3805506b3
children 6f1c7e9a6393
line wrap: on
line diff
--- a/src/globals.h
+++ b/src/globals.h
@@ -397,6 +397,7 @@ EXTERN int	autocmd_no_enter INIT(= FALSE
 EXTERN int	autocmd_no_leave INIT(= FALSE); /* *Leave autocmds disabled */
 EXTERN int	modified_was_set;		/* did ":set modified" */
 EXTERN int	did_filetype INIT(= FALSE);	/* FileType event found */
+EXTERN int	au_did_filetype INIT(= FALSE);
 EXTERN int	keep_filetype INIT(= FALSE);	/* value for did_filetype when
 						   starting to execute
 						   autocommands */