summaryrefslogtreecommitdiffstats
path: root/runtime/doc/if_lua.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-07-18 14:34:51 +0200
committerBram Moolenaar <Bram@vim.org>2010-07-18 14:34:51 +0200
commit9855d6b3610b3ae46a5522b9f8e1e4b521759e83 (patch)
tree0cd833cb1292e135cdd89e8e84d74bb3f8b3a380 /runtime/doc/if_lua.txt
parent5074e3018bca1527bbb5b54f33be1d701e197c5b (diff)
Better conceal in help. (partly by Dominique Pelle)
Diffstat (limited to 'runtime/doc/if_lua.txt')
-rw-r--r--runtime/doc/if_lua.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/runtime/doc/if_lua.txt b/runtime/doc/if_lua.txt
index ff3c0f26f5..60d9f2e57e 100644
--- a/runtime/doc/if_lua.txt
+++ b/runtime/doc/if_lua.txt
@@ -94,10 +94,10 @@ functions$date$,$clock$,$time$,$difftime$, and$getenv$. In addition,
Lua$print$function has its output redirected to the Vim message area, with
arguments separated by a white space instead of a tab.
-Lua uses the "vim" module (see|lua-vim|) to issue commands to Vim
+Lua uses the "vim" module (see |lua-vim|) to issue commands to Vim
and manage buffers (|lua-buffer|) and windows (|lua-window|). However,
procedures that alter buffer content, open new buffers, and change cursor
-position are restricted when the command is executed in the|sandbox|.
+position are restricted when the command is executed in the |sandbox|.
==============================================================================
@@ -109,7 +109,7 @@ module also includes routines for buffer, window, and current line queries,
Vim evaluation and command execution, and others.
$vim.isbuffer(value)$ Returns#true#if$value$is a buffer userdata and
- $false$otherwise (see|lua-buffer|).
+ $false$otherwise (see |lua-buffer|).
$vim.buffer($[arg]$)$ If$arg$is a number, returns buffer with number
$arg$in the buffer list or, if$arg$is
@@ -121,7 +121,7 @@ Vim evaluation and command execution, and others.
buffer.
$vim.iswindow(value)$ Returns#true#if$value$is a window userdata and
- $false$otherwise (see|lua-window|).
+ $false$otherwise (see |lua-window|).
$vim.window($[arg]$)$ If$arg$is a number, returns window with number
$arg$or#nil#if not found. Otherwise, if
@@ -133,7 +133,7 @@ Vim evaluation and command execution, and others.
:lua vim.command"set tw=60"
:lua vim.command"normal ddp"
<
- $vim.eval(${expr}$)$ Evaluates expression {expr} (see|expression|),
+ $vim.eval(${expr}$)$ Evaluates expression {expr} (see |expression|),
converts the result to Lua, and returns it.
Vim strings and numbers are directly converted
to Lua strings and numbers respectively. Vim