aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/if_lua.txt
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-08-02 07:34:39 +0200
committerJustin M. Keyes <justinkz@gmail.com>2019-08-02 16:20:23 +0200
commit9bc4f275b364741e38e925d946becfa155d96ddb (patch)
treeb6ea9186e0c7799e08d2da0a62f4c976f30ad0e4 /runtime/doc/if_lua.txt
parent7c19a4e51881294adc8d174c5be7f546a052c989 (diff)
downloadrneovim-9bc4f275b364741e38e925d946becfa155d96ddb.tar.gz
rneovim-9bc4f275b364741e38e925d946becfa155d96ddb.tar.bz2
rneovim-9bc4f275b364741e38e925d946becfa155d96ddb.zip
vim-patch:5477506a9f01
Update runtime files. https://github.com/vim/vim/commit/5477506a9f01d40fad2e8f0555bc37adee30478f NA: vim-patch:2a9c9f6d89f1 "undo extra changes in src/Makefile" https://github.com/vim/vim/commit/2a9c9f6d89f19f8fa8d926e80c7f988729f6f1bd
Diffstat (limited to 'runtime/doc/if_lua.txt')
-rw-r--r--runtime/doc/if_lua.txt14
1 files changed, 7 insertions, 7 deletions
diff --git a/runtime/doc/if_lua.txt b/runtime/doc/if_lua.txt
index 6dcf3f9fa9..f886fd28c5 100644
--- a/runtime/doc/if_lua.txt
+++ b/runtime/doc/if_lua.txt
@@ -189,16 +189,16 @@ To see the LuaJIT version: >
:lua print(jit.version)
<
-:[range]lua << {endmarker}
+:[range]lua << [endmarker]
{script}
{endmarker}
- Execute Lua script {script}.
+ Execute Lua script {script}. Useful for including Lua
+ code in Vim scripts.
-{endmarker} must NOT be preceded by any white space. If {endmarker} is
-omitted from after the "<<", a dot '.' must be used after {script}, like
-for the |:append| and |:insert| commands.
-This form of the |:lua| command is mainly useful for including Lua code
-in Vim scripts.
+The {endmarker} must NOT be preceded by any white space.
+
+If [endmarker] is omitted from after the "<<", a dot '.' must be used after
+{script}, like for the |:append| and |:insert| commands.
Example:
>