view ci/if_ver-cmd.vim @ 28043:2950c4144afe v8.2.4546

patch 8.2.4546: duplicate #undef Commit: https://github.com/vim/vim/commit/0a4e098f32f3c83273ff63c02c8d0d5cdd7c897c Author: zeertzjq <zeertzjq@outlook.com> Date: Fri Mar 11 15:33:53 2022 +0000 patch 8.2.4546: duplicate #undef Problem: Duplicate #undef. Solution: Remove one #undef. (closes https://github.com/vim/vim/issues/9932)
author Bram Moolenaar <Bram@vim.org>
date Fri, 11 Mar 2022 16:45:02 +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>)