mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 09:26:30 +00:00
vim-patch:8.1.1922: in diff mode global operations can be very slow
Problem: In diff mode global operations can be very slow.
Solution: Do not call diff_redraw() many times, call it once when redrawing.
And also don't update folds multiple times.
4f57eefe1e
This commit is contained in:
@@ -744,6 +744,7 @@ EXTERN int maptick INIT(= 0); // tick for each non-mapped char
|
||||
EXTERN int must_redraw INIT(= 0); // type of redraw necessary
|
||||
EXTERN bool skip_redraw INIT(= false); // skip redraw once
|
||||
EXTERN bool do_redraw INIT(= false); // extra redraw once
|
||||
EXTERN bool need_diff_redraw INIT(= false); // need to call diff_redraw()
|
||||
EXTERN bool must_redraw_pum INIT(= false); // redraw pum. NB: must_redraw
|
||||
// should also be set.
|
||||
|
||||
|
Reference in New Issue
Block a user