view ci/if_ver-cmd.vim @ 31352:8685c826da45

Added tag v9.0.1009 for changeset a207f55deb6299b75a24b8c1c46403b54d55a2e1
author Bram Moolenaar <Bram@vim.org>
date Mon, 05 Dec 2022 16:30:05 +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>)