Skip to content

Commit 7a28afd

Browse files
committed
fix
1 parent 144a979 commit 7a28afd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lua/neo-tree/sources/common/components.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,10 @@ end
234234
---@param config neotree.Component.Common.GitStatus
235235
M.git_status = function(config, node, state)
236236
local node_is_dir = node.type == "directory"
237+
if node.type == "message" then
238+
return {}
239+
end
240+
237241
if node_is_dir and config.hide_when_expanded and node:is_expanded() then
238242
return {}
239243
end

0 commit comments

Comments
 (0)