Mercurial > vim
view ci/if_ver-cmd.vim @ 26526:33d680d372aa v8.2.3792
patch 8.2.3792: setting *func options insufficiently tested
Commit: https://github.com/vim/vim/commit/04ef1fb13d200f770952e670357dddadb6210dd4
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Sun Dec 12 20:08:05 2021 +0000
patch 8.2.3792: setting *func options insufficiently tested
Problem: Setting *func options insufficiently tested.
Solution: Impove tests. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/9337)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 12 Dec 2021 21:15:03 +0100 |
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>)