fix: error when use_default_keymaps = false (#56)
This commit is contained in:
parent
7f17648705
commit
f1ea6e0ad0
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ local M = {}
|
|||
M.setup = function(opts)
|
||||
local new_conf = vim.tbl_deep_extend("keep", opts or {}, default_config)
|
||||
if not new_conf.use_default_keymaps then
|
||||
new_conf.keymaps = opts.keymaps
|
||||
new_conf.keymaps = opts.keymaps or {}
|
||||
end
|
||||
|
||||
for k, v in pairs(new_conf) do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue