fix(bindings): use vim.fn.extend instead of vim.tbl_extend

This commit is contained in:
kiyan
2021-07-02 10:12:33 +02:00
parent f42f6095d7
commit 4a9a17b7f1

View File

@@ -137,7 +137,7 @@ function M.setup()
if vim.g.nvim_tree_disable_default_keybindings == 1 then
M.View.bindings = user_mappings
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
for _, b in pairs(M.View.bindings) do