mirror of
https://github.com/vim/vim.git
synced 2025-10-28 09:27:14 -04:00
patch 9.1.1248: compile error when building without FEAT_QUICKFIX
Problem: compile error when building without FEAT_QUICKFIX
Solution: adjust ifdefs in popupwin.c, add CheckFeature quickfix
to a few tests (John Marriott, Hirohito Higashi)
closes: #16940
closes: #16962
Co-authored-by: Hirohito Higashi <h.east.727@gmail.com>
Co-authored-by: Zoltan Arpadffy <zoltan.arpadffy@gmail.com>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: John Marriott <basilisk@internode.on.net>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
7d8e7df551
commit
45377e2096
@@ -40,11 +40,11 @@ static int message_win_time = 3000;
|
||||
// hit-enter prompt.
|
||||
static int start_message_win_timer = FALSE;
|
||||
|
||||
static int popup_on_cmdline = FALSE;
|
||||
|
||||
static void may_start_message_win_timer(win_T *wp);
|
||||
#endif
|
||||
|
||||
static int popup_on_cmdline = FALSE;
|
||||
|
||||
static void popup_adjust_position(win_T *wp);
|
||||
|
||||
/*
|
||||
@@ -4586,15 +4586,6 @@ popup_hide_info(void)
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Returns TRUE if a popup extends into the cmdline area.
|
||||
*/
|
||||
int
|
||||
popup_overlaps_cmdline(void)
|
||||
{
|
||||
return popup_on_cmdline;
|
||||
}
|
||||
|
||||
/*
|
||||
* Close any info popup.
|
||||
*/
|
||||
@@ -4608,6 +4599,15 @@ popup_close_info(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Returns TRUE if a popup extends into the cmdline area.
|
||||
*/
|
||||
int
|
||||
popup_overlaps_cmdline(void)
|
||||
{
|
||||
return popup_on_cmdline;
|
||||
}
|
||||
|
||||
#if defined(HAS_MESSAGE_WINDOW) || defined(PROTO)
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user