view ci/if_ver-cmd.vim @ 26867:d66ba549f68a v8.2.3962

patch 8.2.3962: build fails for missing error message Commit: https://github.com/vim/vim/commit/d0819d11ecdf3bca4b0800ef905091b5e175b6f4 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Dec 31 23:15:53 2021 +0000 patch 8.2.3962: build fails for missing error message Problem: Build fails for missing error message. Solution: Add changes in missed file.
author Bram Moolenaar <Bram@vim.org>
date Sat, 01 Jan 2022 00:30:02 +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>)