move icon builders into node classes

This commit is contained in:
Alexander Courtis 2024-10-29 13:02:58 +11:00
parent 31545f2801
commit a035ba52bb

View File

@ -233,7 +233,6 @@ function DirectoryNode:icon_name()
end
local foldername = string.format("%s%s", name, self.explorer.opts.renderer.add_trailing and "/" or "")
foldername = name
if #icon > 0 and icon_hl == nil then
if self.open then