mirror of
https://github.com/vim/vim.git
synced 2025-09-30 04:44:14 -04:00
patch 8.2.5032: Python 3 test fails without the GUI
Problem: Python 3 test fails without the GUI. Solution: Check the balloon_eval feature is available.
This commit is contained in:
@@ -381,11 +381,13 @@ func Test_python3_opt_reset_local_to_global()
|
|||||||
\ ['errorformat', '%f:%l:%m', '%s-%l-%m', ''],
|
\ ['errorformat', '%f:%l:%m', '%s-%l-%m', ''],
|
||||||
\ ['grepprg', 'ggprg', 'lgprg', ''],
|
\ ['grepprg', 'ggprg', 'lgprg', ''],
|
||||||
\ ['makeprg', 'gmprg', 'lmprg', ''],
|
\ ['makeprg', 'gmprg', 'lmprg', ''],
|
||||||
\ ['balloonexpr', 'gbexpr', 'lbexpr', ''],
|
|
||||||
\ ['cryptmethod', 'blowfish2', 'zip', ''],
|
\ ['cryptmethod', 'blowfish2', 'zip', ''],
|
||||||
\ ['lispwords', 'abc', 'xyz', ''],
|
\ ['lispwords', 'abc', 'xyz', ''],
|
||||||
\ ['makeencoding', 'utf-8', 'latin1', ''],
|
\ ['makeencoding', 'utf-8', 'latin1', ''],
|
||||||
\ ['undolevels', 100, 200, -123456]]
|
\ ['undolevels', 100, 200, -123456]]
|
||||||
|
if has('balloon_eval')
|
||||||
|
call add(bopts, ['balloonexpr', 'gbexpr', 'lbexpr', ''])
|
||||||
|
endif
|
||||||
|
|
||||||
" Set the global and buffer-local option values and then clear the
|
" Set the global and buffer-local option values and then clear the
|
||||||
" buffer-local option value.
|
" buffer-local option value.
|
||||||
|
@@ -734,6 +734,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
5032,
|
||||||
/**/
|
/**/
|
||||||
5031,
|
5031,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user