view ci/if_ver-1.vim @ 29430:90565e49a13e v9.0.0057

patch 9.0.0057: has('patch-xxx') returns true Commit: https://github.com/vim/vim/commit/5154a8880034b7bb94186d37bcecc6ee1a96f732 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jul 18 20:48:50 2022 +0100 patch 9.0.0057: has('patch-xxx') returns true Problem: has('patch-xxx') returns true. Solution: Check for digit. (closes https://github.com/vim/vim/issues/10751)
author Bram Moolenaar <Bram@vim.org>
date Mon, 18 Jul 2022 22:00:04 +0200
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