Mercurial > vim
view ci/if_ver-1.vim @ 27061:1a56c0252772 v8.2.4059
patch 8.2.4059: Vim9: an expression of a map cannot access script-local items
Commit: https://github.com/vim/vim/commit/19db9e6ba710ca32f0f5e0c2ca2ba69f8228b833
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 11 11:58:19 2022 +0000
patch 8.2.4059: Vim9: an expression of a map cannot access script-local items
Problem: Vim9: an expression of a map cannot access script-local items.
(Maxim Kim)
Solution: Use the script ID of where the map was defined.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 11 Jan 2022 13:00:06 +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