view ci/if_ver-1.vim @ 19902:481e8fa158b4 v8.2.0507

patch 8.2.0507: getbufvar() may get the wrong dictionary Commit: https://github.com/vim/vim/commit/5259275347667a90fb88d8ea74331f88ad68edfc Author: Bram Moolenaar <Bram@vim.org> Date: Fri Apr 3 18:43:35 2020 +0200 patch 8.2.0507: getbufvar() may get the wrong dictionary Problem: Getbufvar() may get the wrong dictionary. (David le Blanc) Solution: Check for empty name. (closes https://github.com/vim/vim/issues/5878)
author Bram Moolenaar <Bram@vim.org>
date Fri, 03 Apr 2020 18:45:04 +0200
parents 27ff44268da5
children 0878f0fd349b
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(_VERSION)

  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