view ci/if_ver-cmd.vim @ 24410:25db91a3281b v8.2.2745

patch 8.2.2745: Vim9: missing part of the argument change Commit: https://github.com/vim/vim/commit/51e7e78de7320a734ddc2d7931e767bccaf7e6f2 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Apr 10 17:46:52 2021 +0200 patch 8.2.2745: Vim9: missing part of the argument change Problem: Vim9: missing part of the argument change. Solution: Add missing changes.
author Bram Moolenaar <Bram@vim.org>
date Sat, 10 Apr 2021 18:00: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>)