Mercurial > vim
view ci/if_ver-1.vim @ 24490:08050e45bd06 v8.2.2785
patch 8.2.2785: Vim9: cannot redirect to local variable
Commit: https://github.com/vim/vim/commit/2d1c57ed3dd25c44b41b9ddd4cf63c01ae89007e
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Apr 19 20:50:03 2021 +0200
patch 8.2.2785: Vim9: cannot redirect to local variable
Problem: Vim9: cannot redirect to local variable.
Solution: Compile :redir when redirecting to a variable.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 19 Apr 2021 21: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