view ci/if_ver-cmd.vim @ 31736:4fac5d2c5a3c v9.0.1200

patch 9.0.1200: AppVeyor builds with an old Python version Commit: https://github.com/vim/vim/commit/474f226582dcd8a4570fcb4d7d3e5a3b27279470 Author: Christopher Plewright <chris@createng.com> Date: Sun Jan 15 13:23:20 2023 +0000 patch 9.0.1200: AppVeyor builds with an old Python version Problem: AppVeyor builds with an old Python version. Solution: Switch from Python 3.8 to 3.11. (Christopher Plewright, closes #11814)
author Bram Moolenaar <Bram@vim.org>
date Sun, 15 Jan 2023 14:30: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>)