diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-11-16 18:43:03 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-16 18:43:03 -0800 |
commit | a45890e82e7cff52f9473d631a5439d2d368daa2 (patch) | |
tree | 8beada2a3533eff9722d5069499111ec889d33f8 /src/nvim/fold.c | |
parent | 7116a41e30903580b7527203b87f6afb26095654 (diff) | |
parent | 3056ff4b8c39ea0679a564760c607021df4ad14f (diff) | |
download | rneovim-a45890e82e7cff52f9473d631a5439d2d368daa2.tar.gz rneovim-a45890e82e7cff52f9473d631a5439d2d368daa2.tar.bz2 rneovim-a45890e82e7cff52f9473d631a5439d2d368daa2.zip |
Merge #11406 from janlazo/vim-8.1.1922
vim-patch:8.1.{1922,2289,2305}
Diffstat (limited to 'src/nvim/fold.c')
-rw-r--r-- | src/nvim/fold.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nvim/fold.c b/src/nvim/fold.c index 5ce953e626..b193b4005c 100644 --- a/src/nvim/fold.c +++ b/src/nvim/fold.c @@ -771,6 +771,11 @@ void foldUpdate(win_T *wp, linenr_T top, linenr_T bot) return; } + if (need_diff_redraw) { + // will update later + return; + } + // Mark all folds from top to bot as maybe-small. fold_T *fp; (void)foldFind(&wp->w_folds, top, &fp); |