Skip to content

Commit

Permalink
fix(preview): allow enabling when node is directory (#1659)
Browse files Browse the repository at this point in the history
Closes #783
  • Loading branch information
LDprg authored Jan 18, 2025
1 parent f7801ec commit 1f2753e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lua/neo-tree/sources/common/preview.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1f2753e

Please sign in to comment.