.. [no ci]

This commit is contained in:
sxyazi 2023-10-21 05:21:52 +08:00
parent e1d6530a2f
commit 7a28d9cd4c
No known key found for this signature in database

View file

@ -42,7 +42,7 @@ function Folder:highlighted_name(file)
return spans
end
function Folder:labels(area)
function Folder:linemode(area)
local mode = cx.active.conf.linemode
if mode == "none" then
return {}
@ -149,7 +149,7 @@ function Folder:current(area)
markers[#markers + 1] = { i, 3 }
end
end
return utils.flat { ui.List(area, items), self:labels(area), table.unpack(self:markers(area, markers)) }
return utils.flat { ui.List(area, items), self:linemode(area), table.unpack(self:markers(area, markers)) }
end
function Folder:preview(area)