view ci/if_ver-cmd.vim @ 33322:9062315f9de1 v9.0.1926

patch 9.0.1926: Vim9: not enough info in error message Commit: https://github.com/vim/vim/commit/696270bcae0c14029030f14a3f3ca2763a2b39de Author: Ernie Rael <errael@raelity.com> Date: Thu Sep 21 16:42:28 2023 +0200 patch 9.0.1926: Vim9: not enough info in error message Problem: Vim9: not enough info in error message Solution: Add class name, change member to variable, quote names closes: #13136 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Ernie Rael <errael@raelity.com>
author Christian Brabandt <cb@256bit.org>
date Thu, 21 Sep 2023 16:45:09 +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>)