Textadept
- Home |
- Download |
- Lua API |
- Source |
- Language Modules |
- Stats |
- Wiki |
- Mailing List
Contents
_M.textadept.mime_types
Handles file-specific settings.
Mime-type Events
_G.events.LANGUAGE_MODULE_LOADED
Called when loading a language-specific module. This is useful for overriding its key commands since they are not available when Textadept starts. Arguments:lang
: The language lexer name.
Functions
select_lexer
()
Prompts the user to select a lexer from a filtered list for the current buffer.
Tables
extensions
File extensions with their associated lexers.
lexers
List of detected lexers.
Lexers are read from lexers/
and ~/.textadept/lexers/
.
patterns
First-line patterns and their associated lexers.
shebangs
Shebang words and their associated lexers.