view ci/if_ver-cmd.vim @ 25455:e7c02cbe701f v8.2.3264

patch 8.2.3264: Vim9: assign test fails Commit: https://github.com/vim/vim/commit/f24f51d03035379cf3e5b2dccf489a40bc4ca92a Author: Bram Moolenaar <Bram@vim.org> Date: Sun Aug 1 12:01:49 2021 +0200 patch 8.2.3264: Vim9: assign test fails Problem: Vim9: assign test fails. Solution: Add missing change.
author Bram Moolenaar <Bram@vim.org>
date Sun, 01 Aug 2021 12:15: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>)