view ci/if_ver-cmd.vim @ 20367:4c0c86098fcc v8.2.0739

patch 8.2.0739: incomplete profiling when exiting because of a dealy signal Commit: https://github.com/vim/vim/commit/b415168a9862023462b7193e83da948cb8d11893 Author: Bram Moolenaar <Bram@vim.org> Date: Mon May 11 22:13:28 2020 +0200 patch 8.2.0739: incomplete profiling when exiting because of a dealy signal Problem: Incomplete profiling when exiting because of a dealy signal. Solution: Call __gcov_flush() if available.
author Bram Moolenaar <Bram@vim.org>
date Mon, 11 May 2020 22:15:05 +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>)