view ci/if_ver-cmd.vim @ 29310:f103da6ba95f v8.2.5171

patch 8.2.5171: dependencies and proto files are outdated Commit: https://github.com/vim/vim/commit/d21e5bde7c74eab8b10fddc30d12a313c7e7dcd0 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jun 27 22:52:43 2022 +0100 patch 8.2.5171: dependencies and proto files are outdated Problem: Dependencies and proto files are outdated. Solution: Update dependencies and proto files. Avoid errors.
author Bram Moolenaar <Bram@vim.org>
date Tue, 28 Jun 2022 00:00:15 +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>)