Mercurial > vim
view ci/if_ver-2.vim @ 27311:b3ef31c6a922 v8.2.4184
patch 8.2.4184: cannot use an import in 'includeexpr'
Commit: https://github.com/vim/vim/commit/47bcc5f4c83c158f43ac2ea7abfe99dbf5c2e098
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 22 20:19:22 2022 +0000
patch 8.2.4184: cannot use an import in 'includeexpr'
Problem: Cannot use an import in 'includeexpr'.
Solution: Set the script context when evaluating 'includeexpr'
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 22 Jan 2022 21:30:02 +0100 |
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