diff --git a/lua/neo-tree/sources/common/preview.lua b/lua/neo-tree/sources/common/preview.lua index 4844e125..d001b03b 100644 --- a/lua/neo-tree/sources/common/preview.lua +++ b/lua/neo-tree/sources/common/preview.lua @@ -375,9 +375,6 @@ end Preview.show = function(state) local node = state.tree:get_node() - if node.type == "directory" then - return - end if instance then instance:findWindow(state)