mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 11:28:22 +00:00
@@ -545,7 +545,11 @@ static int pum_set_selected(int n, int repeat)
|
|||||||
g_do_tagpreview = (int)p_pvh;
|
g_do_tagpreview = (int)p_pvh;
|
||||||
}
|
}
|
||||||
RedrawingDisabled++;
|
RedrawingDisabled++;
|
||||||
|
// Prevent undo sync here, if an autocommand syncs undo weird
|
||||||
|
// things can happen to the undo tree.
|
||||||
|
no_u_sync++;
|
||||||
resized = prepare_tagpreview(false);
|
resized = prepare_tagpreview(false);
|
||||||
|
no_u_sync--;
|
||||||
RedrawingDisabled--;
|
RedrawingDisabled--;
|
||||||
g_do_tagpreview = 0;
|
g_do_tagpreview = 0;
|
||||||
|
|
||||||
@@ -629,7 +633,9 @@ static int pum_set_selected(int n, int repeat)
|
|||||||
// the window when needed, otherwise it will always be
|
// the window when needed, otherwise it will always be
|
||||||
// redraw.
|
// redraw.
|
||||||
if (resized) {
|
if (resized) {
|
||||||
|
no_u_sync++;
|
||||||
win_enter(curwin_save, true);
|
win_enter(curwin_save, true);
|
||||||
|
no_u_sync--;
|
||||||
update_topline();
|
update_topline();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -640,7 +646,9 @@ static int pum_set_selected(int n, int repeat)
|
|||||||
pum_do_redraw = FALSE;
|
pum_do_redraw = FALSE;
|
||||||
|
|
||||||
if (!resized && win_valid(curwin_save)) {
|
if (!resized && win_valid(curwin_save)) {
|
||||||
|
no_u_sync++;
|
||||||
win_enter(curwin_save, true);
|
win_enter(curwin_save, true);
|
||||||
|
no_u_sync--;
|
||||||
}
|
}
|
||||||
|
|
||||||
// May need to update the screen again when there are
|
// May need to update the screen again when there are
|
||||||
|
@@ -389,7 +389,7 @@ static int included_patches[] = {
|
|||||||
// 904,
|
// 904,
|
||||||
903,
|
903,
|
||||||
// 902 NA
|
// 902 NA
|
||||||
// 901,
|
901,
|
||||||
// 900 NA
|
// 900 NA
|
||||||
// 899 NA
|
// 899 NA
|
||||||
898,
|
898,
|
||||||
|
Reference in New Issue
Block a user