aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/command_entry.lua
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2015-03-16 16:55:12 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2015-03-16 16:55:12 -0400
commit39b5f8728fdd215217d2749c20a2668ecbb5f080 (patch)
tree603e845b6683f6725593c8f12e69183156b6c5c2 /modules/textadept/command_entry.lua
parentcb3e886bba78a040d486af518d491cc191cebfd8 (diff)
downloadtextadept-39b5f8728fdd215217d2749c20a2668ecbb5f080.tar.gz
textadept-39b5f8728fdd215217d2749c20a2668ecbb5f080.zip
Code cleanup based on the output of luacheck, a Lua linter.
Diffstat (limited to 'modules/textadept/command_entry.lua')
-rw-r--r--modules/textadept/command_entry.lua2
1 files changed, 1 insertions, 1 deletions
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