view ci/if_ver-cmd.vim @ 22448:5e287462487e v8.2.1772

patch 8.2.1772: cannot use CTRL-W <Down> to move out of a terminal window Commit: https://github.com/vim/vim/commit/f43e7ac4eee22dbb26fc069ec9a3d1598ec8dfe9 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Sep 29 21:23:25 2020 +0200 patch 8.2.1772: cannot use CTRL-W <Down> to move out of a terminal window Problem: Cannot use CTRL-W <Down> to move out of a terminal window. Solution: Use special_to_buf() instead of mb_char2bytes(). (closes https://github.com/vim/vim/issues/7045)
author Bram Moolenaar <Bram@vim.org>
date Tue, 29 Sep 2020 21:30:03 +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>)