view ci/if_ver-cmd.vim @ 30345:a193ffbaeb21 v9.0.0508

patch 9.0.0508: when the channel test fails there is no clue why Commit: https://github.com/vim/vim/commit/cd9fa256b587b2805faeaaa4b7a8c7d483a8ac54 Author: K.Takata <kentkt@csc.jp> Date: Tue Sep 20 11:04:47 2022 +0100 patch 9.0.0508: when the channel test fails there is no clue why Problem: When the channel test fails there is no clue why. Solution: Add info about the job status. (Ken Takata, closes https://github.com/vim/vim/issues/11175)
author Bram Moolenaar <Bram@vim.org>
date Tue, 20 Sep 2022 12:15:05 +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>)