diff options
Diffstat (limited to 'modules/textadept')
-rw-r--r-- | modules/textadept/adeptsense.lua | 18 | ||||
-rw-r--r-- | modules/textadept/mime_types.lua | 8 | ||||
-rw-r--r-- | modules/textadept/run.lua | 16 |
3 files changed, 21 insertions, 21 deletions
diff --git a/modules/textadept/adeptsense.lua b/modules/textadept/adeptsense.lua index a8b24202..283e7576 100644 --- a/modules/textadept/adeptsense.lua +++ b/modules/textadept/adeptsense.lua @@ -34,17 +34,17 @@ local M = {} -- -- ## Adeptsense Basics -- --- Adeptsenses exist per-language so [language-specific modules][] typically --- define them. Before attempting to write an Adeptsense, first determine if the --- module for your language has an Adeptsense. Textadept's official language --- modules have Adeptsenses and are good reference sources. If your language is --- similar to any of Textadept's, you may be able to copy and modify that --- language's Adeptsense, saving some time and effort. +-- Adeptsenses exist per-language so [language modules][] typically define them. +-- Before attempting to write an Adeptsense, first determine if the module for +-- your language has an Adeptsense. Textadept's official language modules have +-- Adeptsenses and are good reference sources. If your language is similar to +-- any of Textadept's, you may be able to copy and modify that language's +-- Adeptsense, saving some time and effort. -- --- [language-specific modules]: _M.html#Language-Specific.Modules +-- [language modules]: _M.html#Language.Modules -- --- Creating a new instance of an Adeptsense from within a language-specific --- module is easy. Just replace the '?' with the name of your language: +-- Creating a new instance of an Adeptsense from within a language module is +-- easy. Just replace the '?' with the name of your language: -- -- M.sense = _M.textadept.adeptsense.new('?') -- diff --git a/modules/textadept/mime_types.lua b/modules/textadept/mime_types.lua index 19b5fcbc..4f6aa3a6 100644 --- a/modules/textadept/mime_types.lua +++ b/modules/textadept/mime_types.lua @@ -6,9 +6,9 @@ local M = {} --- -- Handles file type detection for Textadept. -- @field _G.events.LANGUAGE_MODULE_LOADED (string) --- Emitted 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. +-- Emitted after loading a language module. +-- This is useful for overriding a language module's key bindings or other +-- properties since the module is not loaded when Textadept starts. -- Arguments: -- -- * *`lang`*: The language lexer name. @@ -84,7 +84,7 @@ local function set_lexer(buffer, lang) if not lang then lang = 'text' end end - -- Set the lexer and load its language-specific module. + -- Set the lexer and load its language module. buffer._lexer = lang buffer:private_lexer_call(SETDIRECTPOINTER, buffer.direct_pointer) buffer:private_lexer_call(SETLEXERLANGUAGE, lang) diff --git a/modules/textadept/run.lua b/modules/textadept/run.lua index a5b1ce67..0e9913ed 100644 --- a/modules/textadept/run.lua +++ b/modules/textadept/run.lua @@ -5,11 +5,11 @@ local M = {} --[[ This comment is for LuaDoc. --- -- Compile and run/execute source files with Textadept. --- Typically, [language-specific modules][] populate the `compile_command`, +-- Typically, [language modules][] populate the `compile_command`, -- `run_command`, and `error_detail` tables for a particular language's file -- extension. -- --- [language-specific modules]: _M.html#Compile.and.Run +-- [language modules]: _M.html#Compile.and.Run -- @field ERROR_COLOR (string) -- The name of the color in the current theme to mark a line containing a -- recognized run or compile error. @@ -123,9 +123,9 @@ end -- + `%(filename)`: The name of the file, including its extension. -- + `%(filename_noext)`: The name of the file, excluding its extension. -- --- This table is typically populated by [language-specific modules][]. +-- This table is typically populated by [language modules][]. -- --- [language-specific modules]: _M.html#Compile.and.Run +-- [language modules]: _M.html#Compile.and.Run -- @class table -- @name compile_command M.compile_command = {} @@ -150,9 +150,9 @@ events.connect(events.COMPILE_OUTPUT, print_output) -- + `%(filename)`: The name of the file, including its extension. -- + `%(filename_noext)`: The name of the file, excluding its extension. -- --- This table is typically populated by [language-specific modules][]. +-- This table is typically populated by [language modules][]. -- --- [language-specific modules]: _M.html#Compile.and.Run +-- [language modules]: _M.html#Compile.and.Run -- @class table -- @name run_command M.run_command = {} @@ -184,9 +184,9 @@ events.connect(events.RUN_OUTPUT, print_output) -- -- When an error message is double-clicked, the user is taken to the point of -- error. --- This table is usually populated by [language-specific modules][]. +-- This table is usually populated by [language modules][]. -- --- [language-specific modules]: _M.html#Compile.and.Run +-- [language modules]: _M.html#Compile.and.Run -- @class table -- @name error_detail M.error_detail = {} |