view ci/if_ver-cmd.vim @ 20682:162d37f5c551

Added tag v8.2.0894 for changeset a9f2cd2933ef7fb26933579906a7ce4751be9644
author Bram Moolenaar <Bram@vim.org>
date Wed, 03 Jun 2020 21:00: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>)