view ci/if_ver-cmd.vim @ 32497:882402ba6e47 v9.0.1580

patch 9.0.1580: CI: indent test hangs on FreeBSD Commit: https://github.com/vim/vim/commit/9f3afe7a70d50447424b8d7404aae0d641cd827c Author: ichizok <gclient.gaap@gmail.com> Date: Fri May 26 14:40:45 2023 +0100 patch 9.0.1580: CI: indent test hangs on FreeBSD Problem: CI: indent test hangs on FreeBSD. Solution: Set 'nomore' when running the indent tests. (Ozaki Kiichi, closes #12446)
author Bram Moolenaar <Bram@vim.org>
date Fri, 26 May 2023 15:45: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>)