mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-07 15:37:14 +02:00
Flush while searching in included files
This fixes a problem where the completion menu would not pop up immediately when hitting Ctrl-n to complete an identifier in a .pl file.
This commit is contained in:
@@ -5154,6 +5154,12 @@ exit_matched:
|
||||
goto search_line;
|
||||
}
|
||||
line_breakcheck();
|
||||
#ifdef FEAT_GUI_MACVIM
|
||||
/* This loop could potentially take a long time, so make sure MacVim
|
||||
* gets a chance to flush its output. */
|
||||
if (gui.in_use)
|
||||
gui_macvim_flush();
|
||||
#endif
|
||||
#ifdef FEAT_INS_EXPAND
|
||||
if (action == ACTION_EXPAND)
|
||||
ins_compl_check_keys(30);
|
||||
|
||||
Reference in New Issue
Block a user