view ci/if_ver-cmd.vim @ 22728:1928f863ac6e v8.2.1912

patch 8.2.1912: with Python 3.9 some tests fail Commit: https://github.com/vim/vim/commit/68a48ee55e55c189b03a6718a0d06af1dfedcd16 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Oct 27 19:59:10 2020 +0100 patch 8.2.1912: with Python 3.9 some tests fail Problem: With Python 3.9 some tests fail. Solution: Take into account the different error message. (James McCoy, closes #7210)
author Bram Moolenaar <Bram@vim.org>
date Tue, 27 Oct 2020 20:00:03 +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>)