diff --git a/lua/better_escape.lua b/lua/better_escape.lua index 9fd3582..01b1c76 100644 --- a/lua/better_escape.lua +++ b/lua/better_escape.lua @@ -72,7 +72,7 @@ local function record_key(key) end) end -vim.on_key(function(mapping, typed) +vim.on_key(function(_, typed) if typed == "" then return end