view ci/if_ver-cmd.vim @ 30855:cd23a72d67ae v9.0.0762

patch 9.0.0762: build failure Commit: https://github.com/vim/vim/commit/4b082c4bd05f504fda1acaa9d28fca55a2d04857 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Oct 15 16:25:27 2022 +0100 patch 9.0.0762: build failure Problem: Build failure. Solution: Add missing change.
author Bram Moolenaar <Bram@vim.org>
date Sat, 15 Oct 2022 17:30:02 +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>)