summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-04-07 20:11:12 +0200
committerBram Moolenaar <Bram@vim.org>2021-04-07 20:11:12 +0200
commit125ed2745c0a0570c1f81f249aebb023b2deef1b (patch)
tree10d0d8af435712f4f74142ef9988fd007ef6717d /ci
parente5b0b98a90acf420bb611fc99534982c98d0645b (diff)
downloadvim-git-125ed2745c0a0570c1f81f249aebb023b2deef1b.tar.gz
patch 8.2.2733: detecting Lua version is not reliablev8.2.2733
Problem: Detecting Lua version is not reliable. Solution: Add "vim.lua_version". (Ozaki Kiichi, closes #8080)
Diffstat (limited to 'ci')
-rw-r--r--ci/if_ver-1.vim2
1 files changed, 1 insertions, 1 deletions
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))