view ci/if_ver-cmd.vim @ 19821:54157d9d75c7

Added tag v8.2.0466 for changeset 49e38e5472e64ee713311d5d4e4fba0c150fb5ea
author Bram Moolenaar <Bram@vim.org>
date Sat, 28 Mar 2020 18: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>)