view ci/if_ver-cmd.vim @ 23941:0551ce224ea7

Added tag v8.2.2512 for changeset 949238ccbd50ac9b03d05cafff916a54d7a36ebd
author Bram Moolenaar <Bram@vim.org>
date Sun, 14 Feb 2021 13:30:04 +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>)