view ci/if_ver-cmd.vim @ 26520:bea106f5fd26 v8.2.3789

patch 8.2.3789: Test_window_minimal_size can fail on a slow machine Commit: https://github.com/vim/vim/commit/fa9a8e0fd1143d2b47611c6cc13e32f6283448a4 Author: ichizok <gclient.gaap@gmail.com> Date: Sun Dec 12 16:42:09 2021 +0000 patch 8.2.3789: Test_window_minimal_size can fail on a slow machine Problem: Test_window_minimal_size can fail on a slow machine. Solution: Do not rely on timers firing at the expected time. (Ozaki Kiichi, closes #9335)
author Bram Moolenaar <Bram@vim.org>
date Sun, 12 Dec 2021 17:45: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>)