view ci/if_ver-cmd.vim @ 23144:de5c000f14c4 v8.2.2118

patch 8.2.2118: dead code in the job support Commit: https://github.com/vim/vim/commit/f46bf5204c3c55d23921b501db21a906d526eb45 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Dec 9 13:16:13 2020 +0100 patch 8.2.2118: dead code in the job support Problem: Dead code in the job support. (Dominique Pell?) Solution: Define USE_ARGV before checking for it.
author Bram Moolenaar <Bram@vim.org>
date Wed, 09 Dec 2020 13:30:04 +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>)