view ci/if_ver-cmd.vim @ 30152:1e6d387bd51f v9.0.0412

patch 9.0.0412: compiler warning for unused argument Commit: https://github.com/vim/vim/commit/e5a420fb33518e08313f653f3031bc36f949e086 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Sep 7 21:46:56 2022 +0100 patch 9.0.0412: compiler warning for unused argument Problem: Compiler warning for unused argument. Solution: Add UNUSED.
author Bram Moolenaar <Bram@vim.org>
date Wed, 07 Sep 2022 23:00:06 +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>)