summaryrefslogtreecommitdiff
path: root/src/globals.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-03-19 13:33:23 +0100
committerBram Moolenaar <Bram@vim.org>2013-03-19 13:33:23 +0100
commit186628f67153726edf130015e2a8043a5d309c42 (patch)
treeb78b09433f8bb96b50dc144fac757121f825c297 /src/globals.h
parent090cfc1b02d5dcd98ba414ccf56e69cc38f272bd (diff)
downloadvim-git-186628f67153726edf130015e2a8043a5d309c42.tar.gz
updated for version 7.3.867v7.3.867
Problem: Matchparen does not update match when using auto-indenting. (Marc Aldorasi) Solution: Add the TextChanged and TextChangedI autocommand events.
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/globals.h b/src/globals.h
index 332fedca9..ac0eb18e0 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -1057,11 +1057,13 @@ EXTERN int autocmd_fname_full; /* autocmd_fname is full path */
EXTERN int autocmd_bufnr INIT(= 0); /* fnum for <abuf> on cmdline */
EXTERN char_u *autocmd_match INIT(= NULL); /* name for <amatch> on cmdline */
EXTERN int did_cursorhold INIT(= FALSE); /* set when CursorHold t'gerd */
-EXTERN pos_T last_cursormoved /* for CursorMoved event */
+EXTERN pos_T last_cursormoved /* for CursorMoved event */
# ifdef DO_INIT
= INIT_POS_T(0, 0, 0)
# endif
;
+EXTERN int last_changedtick INIT(= 0); /* for TextChanged event */
+EXTERN buf_T *last_changedtick_buf INIT(= NULL);
#endif
#ifdef FEAT_WINDOWS