view ci/if_ver-1.vim @ 28811:bd5b6ac5998f v8.2.4929

patch 8.2.4929: off-by-one error in in statusline item Commit: https://github.com/vim/vim/commit/57ff52677bf5ba1651281ffe40505df8feba4a36 Author: LemonBoy <thatlemon@gmail.com> Date: Mon May 9 21:03:47 2022 +0100 patch 8.2.4929: off-by-one error in in statusline item Problem: Off-by-one error in in statusline item. Solution: Subtrace one less. (closes https://github.com/vim/vim/issues/10394, closes https://github.com/vim/vim/issues/5599)
author Bram Moolenaar <Bram@vim.org>
date Mon, 09 May 2022 22:15:03 +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