aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/lua.txt
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/doc/lua.txt')
-rw-r--r--runtime/doc/lua.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt
index 433a9fc266..fecdfd9bd0 100644
--- a/runtime/doc/lua.txt
+++ b/runtime/doc/lua.txt
@@ -254,6 +254,11 @@ arguments separated by " " (space) instead of "\t" (tab).
< To see the LuaJIT version: >vim
:lua =jit.version
<
+:{range}lua
+ Executes the |[range]| in the current buffer as Lua code. Unlike |:source|,
+ this will execute the specified lines regardless of the extension or
+ |'filetype'| of the buffer.
+
*:lua-heredoc*
:lua << [trim] [{endmarker}]
{script}