view ci/if_ver-cmd.vim @ 19985:f863aa96cae5 v8.2.0548

patch 8.2.0548: Vim9: not all possible func type errors tested Commit: https://github.com/vim/vim/commit/08938eeba463e98d23ba7b88e81bd252c981d235 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Apr 11 23:17:17 2020 +0200 patch 8.2.0548: Vim9: not all possible func type errors tested Problem: Vim9: not all possible func type errors tested. Solution: Add more tests.
author Bram Moolenaar <Bram@vim.org>
date Sat, 11 Apr 2020 23: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>)