view ci/if_ver-cmd.vim @ 27839:cd4187269bdf v8.2.4445

patch 8.2.4445: exit test fails on MS-Windows anyway Commit: https://github.com/vim/vim/commit/29a9e6971849b4a9eabf14fee1130d51cecfbaa7 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Feb 22 18:48:11 2022 +0000 patch 8.2.4445: exit test fails on MS-Windows anyway Problem: Exit test fails on MS-Windows anyway. Solution: Skip the test on MS-Windows.
author Bram Moolenaar <Bram@vim.org>
date Tue, 22 Feb 2022 20: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>)