mirror of https://github.com/folke/lazy.nvim.git
fix(keys): set nowait for lazy keymaps when needed. Fixes #600
This commit is contained in:
parent
8077428e63
commit
1657ae9b8c
|
@ -79,6 +79,7 @@ function M:_add(keys)
|
||||||
vim.api.nvim_feedkeys(feed, "i", false)
|
vim.api.nvim_feedkeys(feed, "i", false)
|
||||||
end, {
|
end, {
|
||||||
desc = opts.desc,
|
desc = opts.desc,
|
||||||
|
nowait = opts.nowait,
|
||||||
-- we do not return anything, but this is still needed to make operator pending mappings work
|
-- we do not return anything, but this is still needed to make operator pending mappings work
|
||||||
expr = true,
|
expr = true,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue