fix(keys): set nowait for lazy keymaps when needed. Fixes #600

This commit is contained in:
Folke Lemaitre 2023-02-27 09:59:47 +01:00
parent 8077428e63
commit 1657ae9b8c
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 1 additions and 0 deletions

View File

@ -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,
})