Mercurial > vim
view ci/if_ver-cmd.vim @ 20865:0e4cf74642a3 v8.2.0984
patch 8.2.0984: not using previous window when closing a shell popup window
Commit: https://github.com/vim/vim/commit/ab176ce982ac67f7cfcfa1fa885f9117ef8bbafe
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jun 15 21:19:08 2020 +0200
patch 8.2.0984: not using previous window when closing a shell popup window
Problem: Not using previous window when closing a shell popup window.
Solution: Use "prevwin" if it was set. (closes https://github.com/vim/vim/issues/6267)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 15 Jun 2020 21: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>)