Mercurial > vim
view ci/if_ver-2.vim @ 20881:58137dbee8da v8.2.0992
patch 8.2.0992: Vim9: crash when using :import in the Vim command
Commit: https://github.com/vim/vim/commit/101f4810e27e432970bc8809e18f018e1795937f
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jun 16 23:18:51 2020 +0200
patch 8.2.0992: Vim9: crash when using :import in the Vim command
Problem: Vim9: crash when using :import in the Vim command.
Solution: Give an error when using :import outside of a script.
(closes #6271)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 16 Jun 2020 23:30:04 +0200 |
parents | 27ff44268da5 |
children |
line wrap: on
line source
" Print py3 interface versions for Ubuntu. Part 2. if 1 execute 'source' expand('<sfile>:h') .. '/if_ver-cmd.vim' echo 'Python 3:' PrintVer python3 print(sys.version) endif