view ci/if_ver-cmd.vim @ 33117:849c19550a8f v9.0.1841

patch 9.0.1841: style: trailing whitespace in ex_cmds.c Commit: https://github.com/vim/vim/commit/9d093fd05626aa19e5d9ff6d4b738a0f8f5deccb Author: Christian Brabandt <cb@256bit.org> Date: Sat Sep 2 15:07:24 2023 +0200 patch 9.0.1841: style: trailing whitespace in ex_cmds.c Problem: style: trailing whitespace in ex_cmds.c Solution: remove it Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sat, 02 Sep 2023 15:15:04 +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>)