view ci/if_ver-cmd.vim @ 21951:3ece5c9fe811 v8.2.1525

patch 8.2.1525: messages from tests were not always displayed Commit: https://github.com/vim/vim/commit/6e3aeec8461cf27396b6574b5438019a00684e00 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 26 22:29:57 2020 +0200 patch 8.2.1525: messages from tests were not always displayed Problem: Messages from tests were not always displayed. Solution: Always show messages, the timing is always useful. (Ken Takata, closes #6792)
author Bram Moolenaar <Bram@vim.org>
date Wed, 26 Aug 2020 22:45:04 +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>)