aboutsummaryrefslogtreecommitdiff
path: root/doc/manual
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2010-03-30 19:07:04 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2010-03-30 19:07:04 -0400
commitcc13d3e2c10e684543e1ebdd4a56daede7fe7565 (patch)
tree99747ad31aeb120e3c39f176b87b83553f816020 /doc/manual
parentffe93793928977d79d620e6f580ccff85f3983ef (diff)
downloadtextadept-cc13d3e2c10e684543e1ebdd4a56daede7fe7565.tar.gz
textadept-cc13d3e2c10e684543e1ebdd4a56daede7fe7565.zip
Updated documentation.
Diffstat (limited to 'doc/manual')
-rw-r--r--doc/manual/7_LuaInterface.md10
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/manual/7_LuaInterface.md b/doc/manual/7_LuaInterface.md
index f1e343d9..3756f615 100644
--- a/doc/manual/7_LuaInterface.md
+++ b/doc/manual/7_LuaInterface.md
@@ -14,14 +14,20 @@ date than a manual like this could ever be.
The following global variables not mentioned in the LuaDoc are available in
Textadept's Lua state:
-* `arg`: Table containing the command line arguments passed to Textadept.
* `_HOME`: Path to the directory containing Textadept.
-* `WIN32`: If Textadept is running on Windows, this flag is `true`.
+* `_LEXERPATH`: Paths to lexers, formatted like [`package.path`][package_path].
+* `_RELEASE`: The Textadept release version.
+* `_THEME`: The [theme][theme] file to use.
+* `_USERHOME`: Path to the user's `~/.textadept/`.
* `MAC`: If Textadept is running on Mac OSX, this flag is `true`.
* `_CHARSET`: The character set encoding of the filesystem. This is used in
[File I/O][file_io].
* `RESETTING`: If [`textadept.reset()`][textadept_reset] has been called, this
flag is `true` while the Lua state is being re-initialized.
+* `WIN32`: If Textadept is running on Windows, this flag is `true`.
+* `arg`: Table containing the command line arguments passed to Textadept.
+[package_path]: http://www.lua.org/manual/5.1/manual.html#pdf-package.path
+[theme]: 6_Startup.html
[file_io]: ../modules/textadept.io.html
[textadept_reset]: ../modules/textadept.html#reset