view ci/if_ver-cmd.vim @ 22393:d1b9bd52d721 v8.2.1745

patch 8.2.1745: tiny version doesn't build Commit: https://github.com/vim/vim/commit/d47f50b3312af2b8baf37505b7a589daf3f7d942 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Sep 26 15:20:42 2020 +0200 patch 8.2.1745: tiny version doesn't build Problem: Tiny version doesn't build. Solution: Add dummy ex_var() function.
author Bram Moolenaar <Bram@vim.org>
date Sat, 26 Sep 2020 15:30: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>)