Mercurial > vim
view ci/if_ver-2.vim @ 27315:a195a900a329 v8.2.4186
patch 8.2.4186: cannot use an import in 'patchexpr'
Commit: https://github.com/vim/vim/commit/36c2add7f82bc5dbbfc45db31953ef9633c635b3
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 22 20:55:30 2022 +0000
patch 8.2.4186: cannot use an import in 'patchexpr'
Problem: Cannot use an import in 'patchexpr'.
Solution: Set the script context when evaluating 'patchexpr'. Do not
require 'patchexpr' to return a bool, it was ignored anyway.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 22 Jan 2022 22:00:03 +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