view ci/if_ver-cmd.vim @ 23283:b5786cf7c114 v8.2.2187

patch 8.2.2187: Python 3 test fails sometimes Commit: https://github.com/vim/vim/commit/07761a3b965ec3be0c8d52aae9b6dc09c2127d27 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Dec 22 12:50:10 2020 +0100 patch 8.2.2187: Python 3 test fails sometimes Problem: Python 3 test fails sometimes. (Christian Brabandt) Solution: Accept two SystemError messages.
author Bram Moolenaar <Bram@vim.org>
date Tue, 22 Dec 2020 13:00:04 +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>)