diff runtime/doc/if_lua.txt @ 10153:715d6c5707b8

commit https://github.com/vim/vim/commit/abd468ed0fbcba391e7833feeaa7de3ced841455 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Sep 8 22:22:43 2016 +0200 Updated runtime files
author Christian Brabandt <cb@256bit.org>
date Thu, 08 Sep 2016 22:30:08 +0200
parents ed7251c3e2d3
children 9f48eab77d62
line wrap: on
line diff
--- a/runtime/doc/if_lua.txt
+++ b/runtime/doc/if_lua.txt
@@ -59,6 +59,12 @@ Example:
 	EOF
 	endfunction
 <
+To see what version of Lua you have: >
+	:lua print(_VERSION)
+
+If you use LuaJIT you can also use this: >
+	:lua print(jit.version)
+<
 
 							*:luado*
 :[range]luado {body}	Execute Lua function "function (line, linenr) {body}