view ci/if_ver-cmd.vim @ 19312:18fc30542bf5 v8.2.0214

patch 8.2.0214: a popup window with a terminal can be made hidden Commit: https://github.com/vim/vim/commit/2e6638d5f03ae183999c726ba63e528d556342c0 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Feb 5 21:07:18 2020 +0100 patch 8.2.0214: a popup window with a terminal can be made hidden Problem: A popup window with a terminal can be made hidden. Solution: Disallow hiding a terminal popup.
author Bram Moolenaar <Bram@vim.org>
date Wed, 05 Feb 2020 21:15: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>)