view ci/if_ver-cmd.vim @ 34322:840146fba64b v9.1.0095

patch 9.1.0095: tests: test_restricted() fails Commit: https://github.com/vim/vim/commit/52eb0b867704e43049cb396e64cadb5bd9a3ad0b Author: Christian Brabandt <cb@256bit.org> Date: Sat Feb 10 13:50:54 2024 +0100 patch 9.1.0095: tests: test_restricted() fails Problem: tests: test_restricted() fails (after: v9.1.0091) Solution: Add a space before the pipecmd and the actual Vim command to run Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sat, 10 Feb 2024 14:00:02 +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>)