view ci/if_ver-cmd.vim @ 28463:8bf3198ca147 v8.2.4756

patch 8.2.4756: build error without the +eval feature Commit: https://github.com/vim/vim/commit/092e09cba7d7c1aec22f50b974379131f2464d5f Author: Bram Moolenaar <Bram@vim.org> Date: Fri Apr 15 23:29:23 2022 +0100 patch 8.2.4756: build error without the +eval feature Problem: Build error without the +eval feature. Solution: Adjust #ifdefs.
author Bram Moolenaar <Bram@vim.org>
date Sat, 16 Apr 2022 00:30: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>)