diff options
author | 2015-03-16 16:55:12 -0400 | |
---|---|---|
committer | 2015-03-16 16:55:12 -0400 | |
commit | 39b5f8728fdd215217d2749c20a2668ecbb5f080 (patch) | |
tree | 603e845b6683f6725593c8f12e69183156b6c5c2 /modules/textadept/command_entry.lua | |
parent | cb3e886bba78a040d486af518d491cc191cebfd8 (diff) | |
download | textadept-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.lua | 2 |
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 |