view ci/if_ver-cmd.vim @ 19882:b5f0b8ee1ec5 v8.2.0497

patch 8.2.0497: too verbose output from the asan build in Travis Commit: https://github.com/vim/vim/commit/e5bae13da327235836b505ee47224b465713ad75 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Apr 2 15:17:32 2020 +0200 patch 8.2.0497: too verbose output from the asan build in Travis Problem: Too verbose output from the asan build in Travis. Solution: Filter out suppression messages. (Ozaki Kiichi, closes https://github.com/vim/vim/issues/5874)
author Bram Moolenaar <Bram@vim.org>
date Thu, 02 Apr 2020 15:30: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>)