summaryrefslogtreecommitdiffstats
path: root/runtime/doc/if_lua.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-09-08 22:22:43 +0200
committerBram Moolenaar <Bram@vim.org>2016-09-08 22:22:43 +0200
commitabd468ed0fbcba391e7833feeaa7de3ced841455 (patch)
treefa9543b2f456d03168aedb9627cd73dd90d7e1fd /runtime/doc/if_lua.txt
parentf18c4dbbe545757ce93563b25380e6f010340b4e (diff)
Updated runtime files
Diffstat (limited to 'runtime/doc/if_lua.txt')
-rw-r--r--runtime/doc/if_lua.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/doc/if_lua.txt b/runtime/doc/if_lua.txt
index f9039eac07..0064f0b464 100644
--- 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}