Mercurial > vim
diff src/option.h @ 12871:1a450ce6980c v8.0.1312
patch 8.0.1312: balloon_show() only works in terminal when compiled with GUI
commit https://github.com/vim/vim/commit/c3719bd87beca9f72d2e9f11e36d561c2c3b57b0
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 18 22:13:31 2017 +0100
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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 18 Nov 2017 22:15:05 +0100 |
parents | ebb4f6c93598 |
children | 327e1264b9bf |
line wrap: on
line diff
--- 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 +# ifdef FEAT_BEVAL_GUI +EXTERN int p_beval; /* 'ballooneval' */ +# endif EXTERN long p_bdlay; /* 'balloondelay' */ -EXTERN int p_beval; /* 'ballooneval' */ # 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