view ci/if_ver-1.vim @ 28475:a7556b47ff09 v8.2.4762

patch 8.2.4762: using freed memory using synstack() and synID() in WinEnter Commit: https://github.com/vim/vim/commit/ca7e86c23789eb0ed8f6400f25ea9e0e1036f9fc Author: zeertzjq <zeertzjq@outlook.com> Date: Sat Apr 16 16:49:24 2022 +0100 patch 8.2.4762: using freed memory using synstack() and synID() in WinEnter Problem: Using freed memory when using synstack() and synID() in WinEnter. Solution: Check using the syntax window. (closes https://github.com/vim/vim/issues/10204)
author Bram Moolenaar <Bram@vim.org>
date Sat, 16 Apr 2022 18: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