view ci/if_ver-cmd.vim @ 23764:c4208c7ba1cb v8.2.2423

patch 8.2.2423: missing error message Commit: https://github.com/vim/vim/commit/61015162ba834541c42da5db6f3fa0ebe1d40e87 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 28 17:56:09 2021 +0100 patch 8.2.2423: missing error message Problem: Missing error message. Solution: Add the error message.
author Bram Moolenaar <Bram@vim.org>
date Thu, 28 Jan 2021 18:00: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>)