mirror of
https://github.com/neovim/neovim.git
synced 2026-07-16 14:11:28 +00: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:
@@ -1482,6 +1482,8 @@ func Test_string_option_revert_on_failure()
|
||||
endif
|
||||
if exists('+toolbar')
|
||||
call add(optlist, ['toolbar', 'text', 'a123'])
|
||||
endif
|
||||
if exists('+toolbariconsize')
|
||||
call add(optlist, ['toolbariconsize', 'medium', 'a123'])
|
||||
endif
|
||||
if exists('+ttymouse') && !has('gui')
|
||||
|
||||
Reference in New Issue
Block a user