aboutsummaryrefslogtreecommitdiff
path: root/modules/textadept/command_entry.lua
diff options
context:
space:
mode:
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