diff src/globals.h @ 5120:6e611380b4cf v7.3.1303

updated for version 7.3.1303 Problem: Undo is synced whenever CTRL-R = is called, breaking some plugins. Solution: Only break undo when calling setline() or append().
author Bram Moolenaar <bram@vim.org>
date Thu, 04 Jul 2013 20:25:41 +0200
parents f1eab4f77a6f
children 9c777e2c7024
line wrap: on
line diff
--- a/src/globals.h
+++ b/src/globals.h
@@ -916,6 +916,10 @@ EXTERN int no_zero_mapping INIT(= 0);	/*
 EXTERN int allow_keys INIT(= FALSE);	/* allow key codes when no_mapping
 					 * is set */
 EXTERN int no_u_sync INIT(= 0);		/* Don't call u_sync() */
+#ifdef FEAT_EVAL
+EXTERN int u_sync_once INIT(= 0);	/* Call u_sync() once when evaluating
+					   an expression. */
+#endif
 
 EXTERN int restart_edit INIT(= 0);	/* call edit when next cmd finished */
 EXTERN int arrow_used;			/* Normally FALSE, set to TRUE after