view ci/if_ver-cmd.vim @ 20981:6e0166b4443d

Added tag v8.2.1041 for changeset a51ce93f3e6cbd3ada4fc8fb6e12f52467380028
author Bram Moolenaar <Bram@vim.org>
date Mon, 22 Jun 2020 22: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>)