summaryrefslogtreecommitdiff
path: root/src/globals.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-02-17 16:31:35 +0100
committerBram Moolenaar <Bram@vim.org>2017-02-17 16:31:35 +0100
commit79518e2ace5fce7b9c49060e462a6e935dba0a84 (patch)
tree5a5b1284386ac2aff2f39f50238327a54b46a7c3 /src/globals.h
parent226c53429109f24e31c17016aedfd7fbf7a9aa50 (diff)
downloadvim-git-79518e2ace5fce7b9c49060e462a6e935dba0a84.tar.gz
patch 8.0.0334: can't access b:changedtick from a dict referencev8.0.0334
Problem: Can't access b:changedtick from a dict reference. Solution: Make changedtick a member of the b: dict. (inspired by neovim #6112)
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/globals.h b/src/globals.h
index f3e5155e9..831cbf1d8 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -1088,7 +1088,7 @@ EXTERN pos_T last_cursormoved /* for CursorMoved event */
= INIT_POS_T(0, 0, 0)
# endif
;
-EXTERN int last_changedtick INIT(= 0); /* for TextChanged event */
+EXTERN varnumber_T last_changedtick INIT(= 0); /* for TextChanged event */
EXTERN buf_T *last_changedtick_buf INIT(= NULL);
#endif