view ci/if_ver-cmd.vim @ 34122:20ab46fe8a16 v9.1.0025

patch 9.1.0025: A few typos in tests and justify.vim Commit: https://github.com/vim/vim/commit/dc4c37b9d5130c777b377287b8b38cd24da084cb Author: dundargoc <gocdundar@gmail.com> Date: Fri Jan 12 18:02:10 2024 +0100 patch 9.1.0025: A few typos in tests and justify.vim Problem: A few typos in tests and justify.vim Solution: fix them closes: #13848 Signed-off-by: dundargoc <gocdundar@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Fri, 12 Jan 2024 18:15: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>)