view ci/if_ver-1.vim @ 31375:2fa45dcb9d87 v9.0.1021

patch 9.0.1021: test trips over g:name Commit: https://github.com/vim/vim/commit/d6e74f547910d5273a3b99c23fb3197131c7d379 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Dec 6 15:07:56 2022 +0000 patch 9.0.1021: test trips over g:name Problem: Test trips over g:name. Solution: Delete g:name after using it.
author Bram Moolenaar <Bram@vim.org>
date Tue, 06 Dec 2022 16:15:02 +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