view ci/if_ver-cmd.vim @ 19166:215793f6b59d v8.2.0142

patch 8.2.0142: possible to enter popup window with CTRL-W p Commit: https://github.com/vim/vim/commit/8bf716cdba0e48f56b8bfcbed0f4c702a705e095 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 23 15:33:54 2020 +0100 patch 8.2.0142: possible to enter popup window with CTRL-W p Problem: Possible to enter popup window with CTRL-W p. (John Devin) Solution: Check entered window is not a popup window. (closes https://github.com/vim/vim/issues/5515)
author Bram Moolenaar <Bram@vim.org>
date Thu, 23 Jan 2020 15:45: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>)