mirror of
https://github.com/vim/vim.git
synced 2025-10-13 06:54:15 -04:00
patch 8.0.1312: balloon_show() only works in terminal when compiled with GUI
Problem: balloon_show() only works in terminal when compiled with the GUI. Solution: Add FEAT_BEVAL_GUI and refactor to move common code out of the GUI specific file.
This commit is contained in:
@@ -5583,13 +5583,13 @@ f_has(typval_T *argvars, typval_T *rettv)
|
||||
#ifdef FEAT_AUTOSERVERNAME
|
||||
"autoservername",
|
||||
#endif
|
||||
#ifdef FEAT_BEVAL
|
||||
#ifdef FEAT_BEVAL_GUI
|
||||
"balloon_eval",
|
||||
# ifndef FEAT_GUI_W32 /* other GUIs always have multiline balloons */
|
||||
"balloon_multiline",
|
||||
# endif
|
||||
#endif
|
||||
#ifdef FEAT_BEVALTERM
|
||||
#ifdef FEAT_BEVAL_TERM
|
||||
"balloon_eval_term",
|
||||
#endif
|
||||
#if defined(SOME_BUILTIN_TCAPS) || defined(ALL_BUILTIN_TCAPS)
|
||||
|
Reference in New Issue
Block a user