view ci/if_ver-1.vim @ 28694:7f12fe85ed8b v8.2.4871

patch 8.2.4871: Vim9: in :def function no error for misplaced range Commit: https://github.com/vim/vim/commit/09d9421b673366e5f6e56fbf74204a1c316fdea2 Author: Bram Moolenaar <Bram@vim.org> Date: Thu May 5 15:20:03 2022 +0100 patch 8.2.4871: Vim9: in :def function no error for misplaced range Problem: Vim9: in :def function no error for using a range with a command that does not accept one. Solution: Check for the command to accept a range. (closes #10330)
author Bram Moolenaar <Bram@vim.org>
date Thu, 05 May 2022 16:30: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