Skip to content

Commit f27cf95

Browse files
committed
Updated documentation.
1 parent d915ae7 commit f27cf95

File tree

1 file changed

+19
-18
lines changed

1 file changed

+19
-18
lines changed

README.md

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,32 @@ This is an alternative to the single-line Lua command entry.
88
Install this module by copying it into your *~/.textadept/modules/* directory or Textadept's
99
*modules/* directory, and then putting the following in your *~/.textadept/init.lua*:
1010

11-
require('lua_repl')
11+
require('lua_repl')
1212

1313
Select "Tools > Lua REPL" to open the REPL. Typing the Enter key on any line evaluates that
1414
line, unless that line is a continuation line. In that case, when finished, select the lines
1515
to evaluate and type Enter to evaluate the entire chunk.
1616

1717
Lines may be optionally prefixed with '=' (similar to the Lua prompt) to print a result.
1818

19+
## Fields defined by `lua_repl`
20+
21+
<a id="lua_repl.history"></a>
22+
### `lua_repl.history` &lt;table&gt;
23+
24+
Lua command history.
25+
It has a numeric `pos` field that indicates where in the history the user currently is.
26+
27+
Fields:
28+
29+
- `pos`:
30+
31+
<a id="lua_repl.keys"></a>
32+
### `lua_repl.keys` &lt;table&gt;
33+
34+
Table of key bindings for the REPL.
35+
36+
1937
## Functions defined by `lua_repl`
2038

2139
<a id="lua_repl.complete_lua"></a>
@@ -50,21 +68,4 @@ Parameters:
5068
- *new*: Flag that indicates whether or not to create a new REPL even if one already exists.
5169

5270

53-
## Tables defined by `lua_repl`
54-
55-
<a id="lua_repl.history"></a>
56-
### `lua_repl.history`
57-
58-
Lua command history.
59-
It has a numeric `pos` field that indicates where in the history the user currently is.
60-
61-
Fields:
62-
63-
- `pos`:
64-
65-
<a id="lua_repl.keys"></a>
66-
### `lua_repl.keys`
67-
68-
Table of key bindings for the REPL.
69-
7071
---

0 commit comments

Comments
 (0)