view ci/if_ver-cmd.vim @ 20693:f342bdc79295 v8.2.0900

patch 8.2.0900: function list test fails on MS-Windows Commit: https://github.com/vim/vim/commit/9155825b2428ef6bf654204a534b033a6879c90d Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jun 4 17:19:05 2020 +0200 patch 8.2.0900: function list test fails on MS-Windows Problem: Function list test fails on MS-Windows. Solution: Make sure the fileformat is "unix"
author Bram Moolenaar <Bram@vim.org>
date Thu, 04 Jun 2020 17:30:03 +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>)