Skip to content

Commit

Permalink
fix: log the endkey not the startkey (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam-programs authored Jul 9, 2024
1 parent b273bcf commit 3b41a90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/better_escape.lua
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ local function map_keys()
end
-- Make sure we are in the correct sequence
if not parent_keys[mode][subkey][last_key] then
log_key(key)
log_key(subkey)
return subkey
end
vim.api.nvim_input(undo_key[mode] or "")
Expand Down

0 comments on commit 3b41a90

Please sign in to comment.