view ci/if_ver-cmd.vim @ 19441:a5ac657fcd70 v8.2.0278

patch 8.2.0278: channel test is flaky on Mac Commit: https://github.com/vim/vim/commit/9ae3bbdb960c3bed20a6db75a75a0a567d570bea Author: Bram Moolenaar <Bram@vim.org> Date: Wed Feb 19 14:31:33 2020 +0100 patch 8.2.0278: channel test is flaky on Mac Problem: Channel test is flaky on Mac. Solution: Reset variable before sending message.
author Bram Moolenaar <Bram@vim.org>
date Wed, 19 Feb 2020 14:45: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>)