view ci/if_ver-cmd.vim @ 22951:e857d80bab79

Added tag v8.2.2022 for changeset 1270401054d878a753d3323a68f447db837b2ab0
author Bram Moolenaar <Bram@vim.org>
date Fri, 20 Nov 2020 21:15: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>)