view ci/if_ver-cmd.vim @ 28489:922cd0dced4b v8.2.4769

patch 8.2.4769: build warning with UCRT Commit: https://github.com/vim/vim/commit/68aaff4697bab4a278436e6f7ae042262223e51c Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 17 10:57:44 2022 +0100 patch 8.2.4769: build warning with UCRT Problem: Build warning with UCRT. Solution: Adjust #ifdef for _wenviron. (John Marriott)
author Bram Moolenaar <Bram@vim.org>
date Sun, 17 Apr 2022 12:00:06 +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>)