mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:9.0.1372: test for 'toolbariconsize' may fail
Problem: Test for 'toolbariconsize' may fail.
Solution: Only test 'toolbariconsize' when it is supported. (James McCoy,
closes vim/vim#12095)
db1887ce40
Co-authored-by: James McCoy <jamessan@jamessan.com>
This commit is contained in:
parent
e9fa6f10a0
commit
dfb2808d1a
@ -1482,6 +1482,8 @@ func Test_string_option_revert_on_failure()
|
|||||||
endif
|
endif
|
||||||
if exists('+toolbar')
|
if exists('+toolbar')
|
||||||
call add(optlist, ['toolbar', 'text', 'a123'])
|
call add(optlist, ['toolbar', 'text', 'a123'])
|
||||||
|
endif
|
||||||
|
if exists('+toolbariconsize')
|
||||||
call add(optlist, ['toolbariconsize', 'medium', 'a123'])
|
call add(optlist, ['toolbariconsize', 'medium', 'a123'])
|
||||||
endif
|
endif
|
||||||
if exists('+ttymouse') && !has('gui')
|
if exists('+ttymouse') && !has('gui')
|
||||||
|
Loading…
Reference in New Issue
Block a user