Mercurial > vim
view ci/if_ver-cmd.vim @ 28301:ebe0eeea501a v8.2.4676
patch 8.2.4676: test fails with different error
Commit: https://github.com/vim/vim/commit/292e1b9f681054a1de8fa22315ae6eedd7acb205
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Apr 3 16:59:02 2022 +0100
patch 8.2.4676: test fails with different error
Problem: Test fails with different error.
Solution: Add argument for :elseif.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 03 Apr 2022 18:00:02 +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>)