diff options
author | 2012-11-19 00:28:48 -0500 | |
---|---|---|
committer | 2012-11-19 00:28:48 -0500 | |
commit | 9cdaf41a724dd0d739611c698e92f4421a2fbafc (patch) | |
tree | e762a51e4e8e9f9d20ddd2228e81c37bc7e6b920 /modules/textadept/run.lua | |
parent | a5181b448b2d3f2d3db6dd40b40c7471602763a9 (diff) | |
download | textadept-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.lua | 2 |
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 |