Mercurial > vim
view ci/if_ver-cmd.vim @ 27643:517daf1a6e5b v8.2.4347
patch 8.2.4347: in some build setups UNUSED is not defined
Commit: https://github.com/vim/vim/commit/bd89d4406327d3a30517443a4a518f49ebc99368
Author: ola.soder@axis.com <ola.soder@axis.com>
Date: Fri Feb 11 19:27:55 2022 +0000
patch 8.2.4347: in some build setups UNUSED is not defined
Problem: In some build setups UNUSED is not defined.
Solution: Change the logic of how UNUSED is defined. (Ola S?der,
closes #9734)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 11 Feb 2022 20:30: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>)