Mercurial > vim
view ci/if_ver-1.vim @ 28047:b10fa9b17c85 v8.2.4548
patch 8.2.4548: script-local function is deleted when used in a funcref
Commit: https://github.com/vim/vim/commit/fb43cfc2c6a003b850343bfd27cb3059c734d7d4
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Mar 11 18:54:17 2022 +0000
patch 8.2.4548: script-local function is deleted when used in a funcref
Problem: Script-local function is deleted when used in a funcref.
Solution: Do not consider a function starting with "<SNR>" reference
counted. (closes #9916, closes #9820)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 11 Mar 2022 20:00:03 +0100 |
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