aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/run.lua
diff options
context:
space:
mode:
Diffstat (limited to 'modules/textadept/run.lua')
-rw-r--r--modules/textadept/run.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/textadept/run.lua b/modules/textadept/run.lua
index 7c089547..149c6738 100644
--- a/modules/textadept/run.lua
+++ b/modules/textadept/run.lua
@@ -79,7 +79,7 @@ end
-- @see error_detail
local function get_error_details(message)
for _, error_detail in pairs(M.error_detail) do
- local captures = { message:match(error_detail.pattern) }
+ local captures = {message:match(error_detail.pattern)}
if #captures > 0 then
local details = {}
for detail, i in pairs(error_detail) do details[detail] = captures[i] end