view ci/if_ver-cmd.vim @ 25963:aaec2028c8fc v8.2.3515

patch 8.2.3515: nano time test fails on Mac and FreeBSD Commit: https://github.com/vim/vim/commit/def69dffb3d09a69629b071c89b7893a1783ba53 Author: ichizok <gclient.gaap@gmail.com> Date: Fri Oct 15 17:23:12 2021 +0100 patch 8.2.3515: nano time test fails on Mac and FreeBSD Problem: Nano time test fails on Mac and FreeBSD. Solution: Also check nano time when not on Linux. (Ozaki Kiichi, closes #9000)
author Bram Moolenaar <Bram@vim.org>
date Fri, 15 Oct 2021 18:30: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>)