mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 11:58:17 +00:00
vim-patch:9.0.0206: redraw flags are not named specifically (#19913)
Problem: Redraw flags are not named specifically.
Solution: Prefix "UPD_" to the flags, for UPDate_screen().
a4d158b3c8
This commit is contained in:
@@ -120,7 +120,7 @@ void diff_buf_delete(buf_T *buf)
|
||||
// don't redraw right away, more might change or buffer state
|
||||
// is invalid right now
|
||||
need_diff_redraw = true;
|
||||
redraw_later(curwin, VALID);
|
||||
redraw_later(curwin, UPD_VALID);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -659,7 +659,7 @@ void diff_redraw(bool dofold)
|
||||
continue;
|
||||
}
|
||||
|
||||
redraw_later(wp, SOME_VALID);
|
||||
redraw_later(wp, UPD_SOME_VALID);
|
||||
if (wp != curwin) {
|
||||
wp_other = wp;
|
||||
}
|
||||
@@ -1448,7 +1448,7 @@ void diff_win_options(win_T *wp, int addbuf)
|
||||
if (addbuf) {
|
||||
diff_buf_add(wp->w_buffer);
|
||||
}
|
||||
redraw_later(wp, NOT_VALID);
|
||||
redraw_later(wp, UPD_NOT_VALID);
|
||||
}
|
||||
|
||||
/// Set options not to show diffs. For the current window or all windows.
|
||||
|
Reference in New Issue
Block a user