view ci/if_ver-1.vim @ 24385:0878f0fd349b v8.2.2733

patch 8.2.2733: detecting Lua version is not reliable Commit: https://github.com/vim/vim/commit/125ed2745c0a0570c1f81f249aebb023b2deef1b Author: Bram Moolenaar <Bram@vim.org> Date: Wed Apr 7 20:11:12 2021 +0200 patch 8.2.2733: detecting Lua version is not reliable Problem: Detecting Lua version is not reliable. Solution: Add "vim.lua_version". (Ozaki Kiichi, closes https://github.com/vim/vim/issues/8080)
author Bram Moolenaar <Bram@vim.org>
date Wed, 07 Apr 2021 20:15:04 +0200
parents 27ff44268da5
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