From 9cdaf41a724dd0d739611c698e92f4421a2fbafc Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Mon, 19 Nov 2012 00:28:48 -0500 Subject: Changed Lua code style for tables. --- modules/textadept/run.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/textadept/run.lua') 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 -- cgit v1.2.3