view ci/if_ver-cmd.vim @ 28981:2903e0cd8463

Added tag v8.2.5012 for changeset 42e3dfd5b2d699470c9bf7f375d8728a835ad3e9
author Bram Moolenaar <Bram@vim.org>
date Tue, 24 May 2022 13:00:05 +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>)