diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-09-16 14:10:31 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-09-16 14:10:31 +0200 |
commit | e3521d9cbb786806eaff106707851d37d2c0ecef (patch) | |
tree | 37457955339b93a9bd1410491b2a1f1e9bea2b72 /src/structs.h | |
parent | 785fc6567f572b8caefbc89ec29bbd8b801464ae (diff) |
patch 8.1.0394: diffs are not always updated correctlyv8.1.0394
Problem: Diffs are not always updated correctly.
Solution: When using internal diff update for any changes properly.
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/structs.h b/src/structs.h index 3c2bf3f1bb..7a74e8f683 100644 --- a/src/structs.h +++ b/src/structs.h @@ -2509,7 +2509,8 @@ struct tabpage_S #ifdef FEAT_DIFF diff_T *tp_first_diff; buf_T *(tp_diffbuf[DB_COUNT]); - int tp_diff_invalid; /* list of diffs is outdated */ + int tp_diff_invalid; // list of diffs is outdated + int tp_diff_update; // update diffs before redrawing #endif frame_T *(tp_snapshot[SNAP_COUNT]); /* window layout snapshots */ #ifdef FEAT_EVAL |