view ci/if_ver-cmd.vim @ 20447:4fdc8319ab24

Update feature_request.md Commit: https://github.com/vim/vim/commit/ed37d9b3241abe7c302c7ac606df80037aecdb46 Author: Bram Moolenaar <bram@moolenaar.net> Date: Sun May 17 15:17:26 2020 +0200 Update feature_request.md
author Bram Moolenaar <Bram@vim.org>
date Sun, 17 May 2020 15: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>)