view ci/if_ver-cmd.vim @ 28827:91b2386b9d9e v8.2.4937

patch 8.2.4937: no test for what 8.2.4931 fixes Commit: https://github.com/vim/vim/commit/ead241538cdd26cbf02599b6e23cd8baeafbcbb2 Author: Bram Moolenaar <Bram@vim.org> Date: Tue May 10 21:11:12 2022 +0100 patch 8.2.4937: no test for what 8.2.4931 fixes Problem: No test for what 8.2.4931 fixes. Solution: Add a test that triggers a valgrind error.
author Bram Moolenaar <Bram@vim.org>
date Tue, 10 May 2022 22:15:02 +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>)