mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.2.3093: tablabel_tooltip test fails with Athena
Problem: tablabel_tooltip test fails with Athena. (Dominique Pellé)
Solution: Skip the test when using Athena. (closes vim/vim#8508)
fb773a3e0a
This commit is contained in:
parent
37959e8865
commit
ce4d424bfc
@ -9,6 +9,17 @@ func CheckFeature(name)
|
||||
endif
|
||||
endfunc
|
||||
|
||||
" Command to check for the absence of a feature.
|
||||
command -nargs=1 CheckNotFeature call CheckNotFeature(<f-args>)
|
||||
func CheckNotFeature(name)
|
||||
if !has(a:name, 1)
|
||||
throw 'Checking for non-existent feature ' .. a:name
|
||||
endif
|
||||
if has(a:name)
|
||||
throw 'Skipped: ' .. a:name .. ' feature present'
|
||||
endif
|
||||
endfunc
|
||||
|
||||
" Command to check for the presence of a working option.
|
||||
command -nargs=1 CheckOption call CheckOption(<f-args>)
|
||||
func CheckOption(name)
|
||||
|
Loading…
Reference in New Issue
Block a user