Mercurial > vim
view ci/if_ver-cmd.vim @ 21662:21304d9c47e9 v8.2.1381
patch 8.2.1381: MS-Windows: crash with Python 3.5 when stdin is redirected
Commit: https://github.com/vim/vim/commit/56b8dc331dc7f499c8221ed7d1c7795ad5e3bdeb
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Aug 6 21:47:11 2020 +0200
patch 8.2.1381: MS-Windows: crash with Python 3.5 when stdin is redirected
Problem: MS-Windows: crash with Python 3.5 when stdin is redirected.
Solution: Reconnect stdin. (Yasuhiro Matsumoto, Ken Takata, closes https://github.com/vim/vim/issues/6641)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 06 Aug 2020 22:00: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>)