chore: bump Yazi version to 25.12.29

This commit is contained in:
sxyazi
2025-12-30 07:58:34 +08:00
parent 1612f00cf1
commit 517619af12
6 changed files with 13 additions and 47 deletions

View File

@@ -4,12 +4,7 @@ local update = ya.sync(function(st, tags)
for path, tag in pairs(tags) do
st.tags[path] = #tag > 0 and tag or nil
end
-- TODO: remove this
if ui.render then
ui.render()
else
ya.render()
end
ui.render()
end)
local selected_or_hovered = ya.sync(function()
@@ -32,8 +27,7 @@ local function setup(st, opts)
local url = tostring(self._file.url)
local spans = {}
for _, tag in ipairs(st.tags[url] or {}) do
-- TODO: use `not self._file.in_current` instead
if self._file.in_current == false then
if not self._file.in_current then
elseif self._file.is_hovered then
spans[#spans + 1] = ui.Span(""):bg(st.colors[tag] or "reset")
else