view ci/if_ver-cmd.vim @ 24093:5dfee9b1eabe v8.2.2588

patch 8.2.2588: build failure with tiny features Commit: https://github.com/vim/vim/commit/23b32a8d6bd9ec83c0c6632b7a8bfa544ac0a2f1 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Mar 10 21:55:46 2021 +0100 patch 8.2.2588: build failure with tiny features Problem: Build failure with tiny features. Solution: Add #ifdef. Run recover test separately.
author Bram Moolenaar <Bram@vim.org>
date Wed, 10 Mar 2021 22:00:04 +0100
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>)