fix(actions): reloading copy-paste logic inverted

fixes #1331
This commit is contained in:
kiyan 2022-06-11 11:22:45 +02:00
parent 9219831aa2
commit bdb6d4a254

View File

@ -165,7 +165,7 @@ local function do_paste(node, action_type, action_fn)
end
clipboard[action_type] = {}
if not M.enable_reload then
if M.enable_reload then
return require("nvim-tree.actions.reloaders").reload_explorer()
end
end