view ci/if_ver-1.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 0878f0fd349b
children
line wrap: on
line source

" Print all interface versions for Ubuntu. Part 1.

if 1
  execute 'source' expand('<sfile>:h') .. '/if_ver-cmd.vim'

  echo "*** Interface versions ***\n"

  echo 'Lua:'
  PrintVer lua print(vim.lua_version, jit and "(LuaJIT)" or "")

  echo 'MzScheme:'
  PrintVer mzscheme (display (version))

  echo 'Perl:'
  PrintVer perl print $^V

  echo 'Ruby:'
  PrintVer ruby print RUBY_VERSION

  echo 'Tcl:'
  PrintVer tcl puts [info patchlevel]

  echo 'Python 2:'
  PrintVer python print sys.version
endif