aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/11_Scripting.md
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2011-09-26 20:15:36 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2011-09-26 20:15:36 -0400
commitb785ecb18580181674cfd0017ba4e61e0db23b78 (patch)
tree5ab792150fdd259eb55592cb5b8dd9c6740350d4 /doc/manual/11_Scripting.md
parent914da964175fad16339a1be68bd0a4bde13abaf0 (diff)
downloadtextadept-b785ecb18580181674cfd0017ba4e61e0db23b78.tar.gz
textadept-b785ecb18580181674cfd0017ba4e61e0db23b78.zip
Added manual documentation on Lua 5.1 configuration.
Diffstat (limited to 'doc/manual/11_Scripting.md')
-rw-r--r--doc/manual/11_Scripting.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/manual/11_Scripting.md b/doc/manual/11_Scripting.md
index 9e34187e..90ec3a39 100644
--- a/doc/manual/11_Scripting.md
+++ b/doc/manual/11_Scripting.md
@@ -15,6 +15,17 @@ Textadept's API is heavily documented. The [LuaDoc](../index.html) is the
ultimate resource on scripting Textadept. There are of course abundant scripting
examples since Textadept is mostly written in Lua.
+## Lua Configuration
+
+[Lua 5.1](http://www.lua.org/manual/5.1/) is built into Textadept. It has the
+same configuration (`luaconf.h`) as vanilla Lua with the following exceptions:
+
+* `TA_LUA_PATH` and `TA_LUA_CPATH` are the environment variable used in place of
+ the usual `LUA_PATH` and `LUA_CPATH`.
+* `LUA_ROOT` is `/usr/` in Linux systems instead of `/usr/local/`.
+* The `LUA_COMPAT_VARARG`, `LUA_COMPAT_MOD`, `LUA_COMPAT_GFIND`, and
+ `LUA_COMPAT_OPENLIB` compatibility flags for Lua 5.0 are turned off.
+
## Scintilla
The editing component used by Textadept is [Scintilla](http://scintilla.org).