view ci/if_ver-cmd.vim @ 21315:8de90d2965a3 v8.2.1208

patch 8.2.1208: build failure Commit: https://github.com/vim/vim/commit/49fe0d6b289ee640cf5c49b1704bbbd641a0237d Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jul 14 15:47:23 2020 +0200 patch 8.2.1208: build failure Problem: Build failure. Solution: Add missing change.
author Bram Moolenaar <Bram@vim.org>
date Tue, 14 Jul 2020 16:00: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>)