view ci/if_ver-cmd.vim @ 19267:c7903f92ed75 v8.2.0192

patch 8.2.0192: build failure without +terminal feature Commit: https://github.com/vim/vim/commit/91cd59a0a20b944f703ca65e67f2e637fbb7e812 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Feb 1 22:18:37 2020 +0100 patch 8.2.0192: build failure without +terminal feature Problem: Build failure without +terminal feature. Solution: Add #ifdefs.
author Bram Moolenaar <Bram@vim.org>
date Sat, 01 Feb 2020 22:30:03 +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>)