view ci/if_ver-cmd.vim @ 34476:9ed46a11b4af

runtime(doc): Highlight the error message at *E1513* Commit: https://github.com/vim/vim/commit/58f1e5c0893aed47d762f5698a1ebebc05ec9819 Author: Christian Brabandt <cb@256bit.org> Date: Sun Mar 3 16:47:01 2024 +0100 runtime(doc): Highlight the error message at *E1513* Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sun, 03 Mar 2024 17:00:03 +0100
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>)