From 39b5f8728fdd215217d2749c20a2668ecbb5f080 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Mon, 16 Mar 2015 16:55:12 -0400 Subject: Code cleanup based on the output of luacheck, a Lua linter. --- modules/textadept/command_entry.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/textadept/command_entry.lua') diff --git a/modules/textadept/command_entry.lua b/modules/textadept/command_entry.lua index 820ad751..7224b216 100644 --- a/modules/textadept/command_entry.lua +++ b/modules/textadept/command_entry.lua @@ -105,7 +105,7 @@ end -- @class table -- @name env local env = setmetatable({}, { - __index = function(t, k) + __index = function(_, k) local f = buffer[k] if f and type(f) == 'function' then f = function(...) return buffer[k](buffer, ...) end -- cgit v1.2.3