summaryrefslogtreecommitdiff
path: root/src/option.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-11-18 22:13:31 +0100
committerBram Moolenaar <Bram@vim.org>2017-11-18 22:13:31 +0100
commitc3719bd87beca9f72d2e9f11e36d561c2c3b57b0 (patch)
tree2ca909ca8d4a040e48cc484b2ae7512014d3eaf0 /src/option.h
parentc7d16dce2f180c8ebfc8105ad090b0ea2deedcdc (diff)
downloadvim-git-c3719bd87beca9f72d2e9f11e36d561c2c3b57b0.tar.gz
patch 8.0.1312: balloon_show() only works in terminal when compiled with GUIv8.0.1312
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.
Diffstat (limited to 'src/option.h')
-rw-r--r--src/option.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/option.h b/src/option.h
index 2084517d5..d963c1f39 100644
--- a/src/option.h
+++ b/src/option.h
@@ -376,15 +376,17 @@ EXTERN char_u *p_bsk; /* 'backupskip' */
EXTERN char_u *p_cm; /* 'cryptmethod' */
#endif
#ifdef FEAT_BEVAL
-EXTERN long p_bdlay; /* 'balloondelay' */
+# ifdef FEAT_BEVAL_GUI
EXTERN int p_beval; /* 'ballooneval' */
+# endif
+EXTERN long p_bdlay; /* 'balloondelay' */
# ifdef FEAT_EVAL
EXTERN char_u *p_bexpr;
# endif
-#endif
-# ifdef FEAT_BEVALTERM
+# ifdef FEAT_BEVAL_TERM
EXTERN int p_bevalterm; /* 'balloonevalterm' */
# endif
+#endif
#ifdef FEAT_BROWSE
EXTERN char_u *p_bsdir; /* 'browsedir' */
#endif