1
0
forked from aniani/vim

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().
This commit is contained in:
Bram Moolenaar
2013-07-04 20:25:41 +02:00
parent c84e3c1ee1
commit 3c1e9c2a1f
6 changed files with 43 additions and 4 deletions

View File

@@ -916,6 +916,10 @@ EXTERN int no_zero_mapping INIT(= 0); /* mapping zero not allowed */
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