fix: keybindings not being set

This commit is contained in:
kiyan42
2021-04-17 21:31:02 +02:00
parent a0c1d9d2b5
commit 2fffd847bd

View File

@@ -111,7 +111,7 @@ function M.setup()
a.nvim_buf_set_option(M.View.bufnr, k, v)
end
if not vim.g.nvim_tree_disable_keybindings then
if vim.g.nvim_tree_disable_keybindings ~= 1 then
M.View.bindings = vim.tbl_extend(
'force',
M.View.bindings,