view ci/if_ver-cmd.vim @ 19948:4c2ff5ddb5db v8.2.0530

patch 8.2.0530: test crashes on s390 Commit: https://github.com/vim/vim/commit/a65c28813425dc1c04424ee18980d1733e982604 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Apr 8 11:31:48 2020 +0200 patch 8.2.0530: test crashes on s390 Problem: Test crashes on s390. (James McCoy) Solution: Explicitly define an 8 big signed type. (closes https://github.com/vim/vim/issues/5897)
author Bram Moolenaar <Bram@vim.org>
date Wed, 08 Apr 2020 11:45:05 +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>)