summaryrefslogtreecommitdiff
path: root/usr.bin/vim/globals.h
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1996-09-21 06:23:56 +0000
committerJason Downs <downsj@cvs.openbsd.org>1996-09-21 06:23:56 +0000
commite8e01073071369d33ab4cf61be05bebe5a65566e (patch)
tree2c29b23bfb933e0fa40619f7d1fae430ff2c247e /usr.bin/vim/globals.h
parent584e4bbf452da2934dbaf4b9dc09bd131a1d4cd7 (diff)
update to vim 4.4beta
Diffstat (limited to 'usr.bin/vim/globals.h')
-rw-r--r--usr.bin/vim/globals.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/vim/globals.h b/usr.bin/vim/globals.h
index a5298f18b7a..c52a48b407f 100644
--- a/usr.bin/vim/globals.h
+++ b/usr.bin/vim/globals.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: globals.h,v 1.1 1996/09/07 21:40:28 downsj Exp $ */
+/* $OpenBSD: globals.h,v 1.2 1996/09/21 06:23:00 downsj Exp $ */
/* vi:set ts=4 sw=4:
*
* VIM - Vi IMproved by Bram Moolenaar
@@ -121,6 +121,8 @@ EXTERN int need_check_timestamps INIT(= FALSE); /* got STOP signal */
#ifdef AUTOCMD
EXTERN int autocmd_busy INIT(= FALSE); /* Is apply_autocmds() busy? */
+EXTERN int autocmd_no_enter INIT(= FALSE); /* *Enter autocmds disabled */
+EXTERN int autocmd_no_leave INIT(= FALSE); /* *Leave autocmds disabled */
#endif
#ifdef USE_MOUSE
@@ -333,7 +335,9 @@ EXTERN int dont_wait_return INIT(= 0); /* no need to wait for return */
EXTERN int quit_more INIT(= FALSE); /* 'q' hit at "--more--" msg */
EXTERN char_u *last_cmdline INIT(= NULL); /* last command line (for ":) */
EXTERN char_u *new_last_cmdline INIT(= NULL); /* new value for last_cmdline */
-EXTERN char_u *autocmd_fname INIT(= NULL); /* fname for "^Vf" on cmdline */
+#ifdef AUTOCMD
+EXTERN char_u *autocmd_fname INIT(= NULL); /* fname for <afile> on cmdline */
+#endif
EXTERN int postponed_split INIT(= FALSE); /* for CTRL-W CTRL-] command */
EXTERN int replace_offset INIT(= 0); /* offset for replace_push() */