Mercurial > vim
view ci/if_ver-cmd.vim @ 22119:11dbf7e1f65c v8.2.1609
patch 8.2.1609: Vim9: test fails when build without +channel
Commit: https://github.com/vim/vim/commit/7918238528090cd019dc19613dbe76923ac9a1d7
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 5 20:06:33 2020 +0200
patch 8.2.1609: Vim9: test fails when build without +channel
Problem: Vim9: test fails when build without +channel.
Solution: Add check for +channel. (closes https://github.com/vim/vim/issues/6879)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 05 Sep 2020 20:15:03 +0200 |
parents | 27ff44268da5 |
children |
line wrap: on
line source
" Provide 'PrintVer' command to print the interface versions. func s:print_ver(lang, ...) if has(a:lang) exec a:lang join(a:000) else echo 'N/A' endif echo '' endfunc command -nargs=+ PrintVer call <SID>print_ver(<f-args>)