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:
Jan Edmund Lazo 2021-07-03 23:19:43 -04:00
parent 37959e8865
commit ce4d424bfc
No known key found for this signature in database
GPG Key ID: 64915E6E9F735B15

View File

@ -9,6 +9,17 @@ func CheckFeature(name)
endif endif
endfunc 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 to check for the presence of a working option.
command -nargs=1 CheckOption call CheckOption(<f-args>) command -nargs=1 CheckOption call CheckOption(<f-args>)
func CheckOption(name) func CheckOption(name)