Skip to content

Commit

Permalink
fix(keys): set nowait for lazy keymaps when needed. Fixes #600
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Feb 27, 2023
1 parent 8077428 commit 1657ae9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/lazy/core/handler/keys.lua
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ function M:_add(keys)
vim.api.nvim_feedkeys(feed, "i", false)
end, {
desc = opts.desc,
nowait = opts.nowait,
-- we do not return anything, but this is still needed to make operator pending mappings work
expr = true,
})
Expand Down

0 comments on commit 1657ae9

Please sign in to comment.