aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/textadept/editing.lua2
-rw-r--r--modules/textadept/run.lua1
2 files changed, 2 insertions, 1 deletions
diff --git a/modules/textadept/editing.lua b/modules/textadept/editing.lua
index f4d728d4..b2888238 100644
--- a/modules/textadept/editing.lua
+++ b/modules/textadept/editing.lua
@@ -211,7 +211,7 @@ if CURSES and not WIN32 then
events.connect(events.QUIT, disable_bracketed_paste_mode)
local reenable_autopair, reenable_autoindent
- events.connect('csi', function(cmd, args)
+ events.connect(events.CSI, function(cmd, args)
if cmd ~= string.byte('~') then return end
if args[1] == 200 then
reenable_autopair, M.AUTOPAIR = M.AUTOPAIR, false
diff --git a/modules/textadept/run.lua b/modules/textadept/run.lua
index 04339648..196bd8db 100644
--- a/modules/textadept/run.lua
+++ b/modules/textadept/run.lua
@@ -7,6 +7,7 @@ local M = {}
-- Compile and run source code files with Textadept.
-- [Language modules](#_M.Compile.and.Run) may tweak the `compile_commands`,
-- `run_commands`, and/or `error_patterns` tables for particular languages.
+-- The user may tweak `build_commands` for particular projects.
-- @field MARK_WARNING (number)
-- The run or compile warning marker number.
-- @field MARK_ERROR (number)