> > > Patch 8.2.2698 (after 8.2.2696)
> > > Problem: Lua test fails on MS-Windows.
> > > Solution: Fall back to old method if "lua -v" doesn't work.
> > > Files: src/testdir/test_lua.vim
> >
> > This probably still fails with the "lua" command has a different version
> > than the library that Vim was built with. I hope someone can figure
> > out a better solution to get the patch level.
> >
>
> Yes. The Lua _VERSION global variable only contains the major and
> minor version numbers. It doesn't have the patch version number.
> When the lua command is invoked with the "-v" argument, then it
> displays all the three version numbers. But if the lua executable is
> not present in the PATH or some other version is found, then we may
> get the wrong Lua version. I hope someone more familiar with Lua
> can chime in with a solution to get the Lua version.
I suspect that the executable may be called something else, e.g.
"lua45".
--
hundred-and-one symptoms of being an internet addict:
48. You get a tatoo that says "This body best viewed with Netscape 3.1 or
higher."
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202104031519.133FJM062545448%40masaka.moolenaar.net.