view ci/if_ver-cmd.vim @ 32952:1c143662a40d v9.0.1778

patch 9.0.1778: if_py_both: code-style issue Commit: https://github.com/vim/vim/commit/75dc1ed1adddbcde926872bb41dfe1a1b0029848 Author: Christian Brabandt <cb@256bit.org> Date: Sun Aug 20 23:19:24 2023 +0200 patch 9.0.1778: if_py_both: code-style issue Problem: if_py_both: code-style issue Solution: add space Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sun, 20 Aug 2023 23:30:02 +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>)