view ci/if_ver-cmd.vim @ 33547:a319d4aa6b53 v9.0.2021

patch 9.0.2021: Coverity complains about change in charset Commit: https://github.com/vim/vim/commit/cd6ee6935811ab223605a3f39a550d26a617867d Author: Christian Brabandt <cb@256bit.org> Date: Sat Oct 14 11:29:28 2023 +0200 patch 9.0.2021: Coverity complains about change in charset Problem: Coverity complains about change in charset (after v9.0.2017) Solution: check pointer t at index 0 closes: #13322 Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sat, 14 Oct 2023 11:45:03 +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>)