view ci/if_ver-cmd.vim @ 30263:568ec1c3c34b v9.0.0467

patch 9.0.0467: build failure Commit: https://github.com/vim/vim/commit/d3922afbd6f56e82c7b5fd7a7ebc0769e416cae8 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Sep 14 22:30:59 2022 +0100 patch 9.0.0467: build failure Problem: Build failure. Solution: Add missing change.
author Bram Moolenaar <Bram@vim.org>
date Wed, 14 Sep 2022 23:45:03 +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>)