view ci/if_ver-cmd.vim @ 21151:26daca3f46b6

Added tag v8.2.1126 for changeset 951aad18b1afd6fd7719b49ec7f6ba7c421fe51a
author Bram Moolenaar <Bram@vim.org>
date Sat, 04 Jul 2020 17:45: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>)