diff options
Diffstat (limited to 'modules/textadept')
-rw-r--r-- | modules/textadept/keys.lua | 5 | ||||
-rw-r--r-- | modules/textadept/lsnippets.lua | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/modules/textadept/keys.lua b/modules/textadept/keys.lua index 996cdabf..89fd4b36 100644 --- a/modules/textadept/keys.lua +++ b/modules/textadept/keys.lua @@ -13,7 +13,9 @@ -- ADD: The string representing used to join together a sequence of Control, -- Shift, or Alt modifier keys. -- --- @usage +module('_m.textadept.keys', package.seeall) + +-- Usage: -- Keys are defined in the global table 'keys'. Keys in that table are key -- sequences, and values are tables of Lua functions and arguments to execute. -- The exceptions are language names, style names, and keychains (discussed @@ -64,7 +66,6 @@ -- Keep in mind that all Lua functions used in key commands must be defined -- BEFORE the key command references it. Therefore the module containing key -- commands should be loaded LAST, after all other modules have been loaded. -module('_m.textadept.keys', package.seeall) -- options local SCOPES_ENABLED = true diff --git a/modules/textadept/lsnippets.lua b/modules/textadept/lsnippets.lua index f7773639..0e1ad0a7 100644 --- a/modules/textadept/lsnippets.lua +++ b/modules/textadept/lsnippets.lua @@ -12,7 +12,9 @@ -- MARK_SNIPPET_COLOR: The Scintilla color used for the line -- that marks the end of the snippet. -- --- @usage +module('_m.textadept.lsnippets', package.seeall) + +-- Usage: -- Snippets are defined in the global table 'snippets'. Keys in that table are -- snippet trigger words, and values are the snippet's text to insert. The -- exceptions are language names and style names. Language names have table @@ -66,7 +68,6 @@ -- * Only '`' needs to be escaped in shell code. -- * '|'s after the first in transformations do not need to be escaped. -- * Only unmatched ')'s need to be escaped. Nested ()s are ignored. -module('_m.textadept.lsnippets', package.seeall) local MARK_SNIPPET = 4 local MARK_SNIPPET_COLOR = 0x4D9999 |