Mercurial > vim
comparison ci/if_ver-1.vim @ 24385:0878f0fd349b v8.2.2733
patch 8.2.2733: detecting Lua version is not reliable
Commit: https://github.com/vim/vim/commit/125ed2745c0a0570c1f81f249aebb023b2deef1b
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Apr 7 20:11:12 2021 +0200
patch 8.2.2733: detecting Lua version is not reliable
Problem: Detecting Lua version is not reliable.
Solution: Add "vim.lua_version". (Ozaki Kiichi, closes https://github.com/vim/vim/issues/8080)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 07 Apr 2021 20:15:04 +0200 |
parents | 27ff44268da5 |
children |
comparison
equal
deleted
inserted
replaced
24384:7416c47af1a5 | 24385:0878f0fd349b |
---|---|
4 execute 'source' expand('<sfile>:h') .. '/if_ver-cmd.vim' | 4 execute 'source' expand('<sfile>:h') .. '/if_ver-cmd.vim' |
5 | 5 |
6 echo "*** Interface versions ***\n" | 6 echo "*** Interface versions ***\n" |
7 | 7 |
8 echo 'Lua:' | 8 echo 'Lua:' |
9 PrintVer lua print(_VERSION) | 9 PrintVer lua print(vim.lua_version, jit and "(LuaJIT)" or "") |
10 | 10 |
11 echo 'MzScheme:' | 11 echo 'MzScheme:' |
12 PrintVer mzscheme (display (version)) | 12 PrintVer mzscheme (display (version)) |
13 | 13 |
14 echo 'Perl:' | 14 echo 'Perl:' |