view ci/if_ver-cmd.vim @ 19523:a7a24d06d7ce

Update runtime files. Commit: https://github.com/vim/vim/commit/bc93cebb692f47488d66f078d1728031e9be35e7 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Feb 26 13:36:21 2020 +0100 Update runtime files.
author Bram Moolenaar <Bram@vim.org>
date Wed, 26 Feb 2020 13:45:05 +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>)