fix(bindings): use vim.fn.extend instead of vim.tbl_extend
This commit is contained in:
@@ -137,7 +137,7 @@ function M.setup()
|
|||||||
if vim.g.nvim_tree_disable_default_keybindings == 1 then
|
if vim.g.nvim_tree_disable_default_keybindings == 1 then
|
||||||
M.View.bindings = user_mappings
|
M.View.bindings = user_mappings
|
||||||
else
|
else
|
||||||
M.View.bindings = vim.tbl_extend('force', M.View.bindings, user_mappings)
|
M.View.bindings = vim.fn.extend(M.View.bindings, user_mappings)
|
||||||
end
|
end
|
||||||
|
|
||||||
for _, b in pairs(M.View.bindings) do
|
for _, b in pairs(M.View.bindings) do
|
||||||
|
|||||||
Reference in New Issue
Block a user