view ci/if_ver-cmd.vim @ 20578:6423f8692351

Added tag v8.2.0842 for changeset 5f0f1f63c8df7941d2ccd73fa829a26cd9f37ce2
author Bram Moolenaar <Bram@vim.org>
date Sat, 30 May 2020 13:15:04 +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>)