view ci/if_ver-cmd.vim @ 19938:f33098f1aec0 v8.2.0525

patch 8.2.0525: Win32: typo in assignment and misplaced paren Commit: https://github.com/vim/vim/commit/40655d501649e0b73e12f940b56f462dee44e06c Author: Bram Moolenaar <Bram@vim.org> Date: Mon Apr 6 23:49:50 2020 +0200 patch 8.2.0525: Win32: typo in assignment and misplaced paren Problem: Win32: typo in assignment and misplaced paren. Solution: Fix the syntax.
author Bram Moolenaar <Bram@vim.org>
date Tue, 07 Apr 2020 00:01:14 +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>)