diff options
Diffstat (limited to 'core/._M.luadoc')
-rw-r--r-- | core/._M.luadoc | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/core/._M.luadoc b/core/._M.luadoc index 9eb70f64..fada7185 100644 --- a/core/._M.luadoc +++ b/core/._M.luadoc @@ -12,18 +12,17 @@ -- script. However, the script may load additional Lua files present in the -- directory. (For an example, see *modules/textadept/init.lua*.) -- --- Loaded modules, regardless of whether they are generic or language-specific, --- persist in Textadept's Lua State; Textadept never unloads them. Therefore, --- modules should define functions or variables within the module itself, not --- globally. --- --- ### Language-Specific --- --- To fully take advantage of Textadept's features, language-specific modules --- should have at a minimum: a block comment string, run and/or compile --- commands, an event handler for setting buffer properties like indentation, --- and if possible, an Adeptsense. Optional features are extra snippets and --- commands and a context menu. +-- Loaded modules, even language modules, persist in Textadept's Lua State; +-- Textadept never unloads them. Therefore, modules should define functions or +-- variables within the module itself, not globally. +-- +-- ### Language Modules +-- +-- To fully take advantage of Textadept's features, language modules should have +-- at a minimum: a block comment string, run and/or compile commands, an event +-- handler for setting buffer properties like indentation, and if possible, an +-- Adeptsense. Optional features are extra snippets and commands and a context +-- menu. -- -- #### Block Comment -- |