From 125ed2745c0a0570c1f81f249aebb023b2deef1b Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 7 Apr 2021 20:11:12 +0200 Subject: 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 #8080) --- ci/if_ver-1.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ci') diff --git a/ci/if_ver-1.vim b/ci/if_ver-1.vim index d5b2bb68c..adc40a7cb 100644 --- a/ci/if_ver-1.vim +++ b/ci/if_ver-1.vim @@ -6,7 +6,7 @@ if 1 echo "*** Interface versions ***\n" echo 'Lua:' - PrintVer lua print(_VERSION) + PrintVer lua print(vim.lua_version, jit and "(LuaJIT)" or "") echo 'MzScheme:' PrintVer mzscheme (display (version)) -- cgit v1.2.1