view ci/if_ver-cmd.vim @ 30184:dc238f2c7355 v9.0.0428

patch 9.0.0428: autocmd test uses common file name Commit: https://github.com/vim/vim/commit/be9fc5b60cbdf697c4f6d12345dd7fcdb5d6ca01 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Sep 9 17:09:35 2022 +0100 patch 9.0.0428: autocmd test uses common file name Problem: Autocmd test uses common file name. Solution: Use unique name to reduce flakiness.
author Bram Moolenaar <Bram@vim.org>
date Fri, 09 Sep 2022 18:15: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>)