summaryrefslogtreecommitdiffstats
path: root/runtime/doc/if_lua.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-07-31 21:07:14 +0200
committerBram Moolenaar <Bram@vim.org>2019-07-31 21:07:14 +0200
commit5477506a9f01d40fad2e8f0555bc37adee30478f (patch)
treeafb8271b63c5813ea4f2dee83df994f33791fed5 /runtime/doc/if_lua.txt
parent0e6bfb9b2eb108d96a49ac4f8dc638c2eefeda2b (diff)
Update runtime files.
Diffstat (limited to 'runtime/doc/if_lua.txt')
-rw-r--r--runtime/doc/if_lua.txt12
1 files changed, 7 insertions, 5 deletions
diff --git a/runtime/doc/if_lua.txt b/runtime/doc/if_lua.txt
index 24c53fa95b..f7f954e200 100644
--- a/runtime/doc/if_lua.txt
+++ b/runtime/doc/if_lua.txt
@@ -1,4 +1,4 @@
-*if_lua.txt* For Vim version 8.1. Last change: 2019 May 05
+*if_lua.txt* For Vim version 8.1. Last change: 2019 Jul 21
VIM REFERENCE MANUAL by Luis Carvalho
@@ -32,7 +32,7 @@ Examples:
:lua local curbuf = vim.buffer() curbuf[7] = "line #7"
<
-:[range]lua << {endmarker}
+:[range]lua << [endmarker]
{script}
{endmarker}
Execute Lua script {script}.
@@ -40,9 +40,11 @@ Examples:
feature wasn't compiled in. To avoid errors, see
|script-here|.
-{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.
+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.
+
This form of the |:lua| command is mainly useful for including Lua code
in Vim scripts.