view ci/if_ver-cmd.vim @ 30923:bbc069df8597

Added tag v9.0.0795 for changeset ed6acfafa17e29b0df331a68d4e4d734380efe4b
author Bram Moolenaar <Bram@vim.org>
date Wed, 19 Oct 2022 15:15:06 +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>)