aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/run.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2012-11-19 00:28:48 -0500
committermitchell <70453897+667e-11@users.noreply.github.com>2012-11-19 00:28:48 -0500
commit9cdaf41a724dd0d739611c698e92f4421a2fbafc (patch)
treee762a51e4e8e9f9d20ddd2228e81c37bc7e6b920 /modules/textadept/run.lua
parenta5181b448b2d3f2d3db6dd40b40c7471602763a9 (diff)
downloadtextadept-9cdaf41a724dd0d739611c698e92f4421a2fbafc.tar.gz
textadept-9cdaf41a724dd0d739611c698e92f4421a2fbafc.zip
Changed Lua code style for tables.
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