feat: adapt for https://github.com/sxyazi/yazi/pull/2939
This commit is contained in:
@@ -4,7 +4,12 @@ local update = ya.sync(function(st, tags)
|
||||
for path, tag in pairs(tags) do
|
||||
st.tags[path] = #tag > 0 and tag or nil
|
||||
end
|
||||
ya.render()
|
||||
-- TODO: remove this
|
||||
if ui.render then
|
||||
ui.render()
|
||||
else
|
||||
ya.render()
|
||||
end
|
||||
end)
|
||||
|
||||
local selected_or_hovered = ya.sync(function()
|
||||
|
||||
Reference in New Issue
Block a user