aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/mime_types.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2012-10-08 11:40:17 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2012-10-08 11:40:17 -0400
commit91fcdb58bfe43b368f1bf32edc16ed7dba8c40cd (patch)
tree18c64ae98223dbbba9bd56c98906a254c9e20d5e /modules/textadept/mime_types.lua
parent7148f30241c81ce63fde27c230e1d9db02b19822 (diff)
downloadtextadept-91fcdb58bfe43b368f1bf32edc16ed7dba8c40cd.tar.gz
textadept-91fcdb58bfe43b368f1bf32edc16ed7dba8c40cd.zip
Use '@field' LuaDoc for events defined in modules.
Diffstat (limited to 'modules/textadept/mime_types.lua')
-rw-r--r--modules/textadept/mime_types.lua8
1 files changed, 3 insertions, 5 deletions
diff --git a/modules/textadept/mime_types.lua b/modules/textadept/mime_types.lua
index 4a77efc4..7c71fa7f 100644
--- a/modules/textadept/mime_types.lua
+++ b/modules/textadept/mime_types.lua
@@ -5,15 +5,13 @@ local M = {}
--[[ This comment is for LuaDoc.
---
-- Handles file type detection.
---
--- ## Mime-type Events
---
--- * `_G.events.LANGUAGE_MODULE_LOADED`
+-- @field _G.events.LANGUAGE_MODULE_LOADED (string)
-- Called after loading a language-specific module.
-- This is useful for overriding a language-specific module's key bindings
-- or other properties since the module is not loaded when Textadept starts.
-- Arguments:
--- * `lang`: The language lexer name.
+--
+-- * `lang`: The language lexer name.
module('_M.textadept.mime_types')]]
-- Events.