chore: apply formatting

This commit is contained in:
2026-05-26 17:30:18 +02:00
parent 914aa493ff
commit 428ded2c4c
12 changed files with 305 additions and 280 deletions
+2 -8
View File
@@ -20,10 +20,7 @@ local function render(entry)
end
local parts = {}
for _, mark in ipairs(marks) do
table.insert(
parts,
string.format("%%#%s#%s%%*", mark.hl, mark.char)
)
table.insert(parts, string.format("%%#%s#%s%%*", mark.hl, mark.char))
end
return table.concat(parts, " ")
end
@@ -73,10 +70,7 @@ repo.on("change", function(r)
local rel = vim.fs.relpath(r.worktree, vim.fn.resolve(name))
if rel then
set_status(buf, r, rel)
if
not any_visible
and #vim.fn.win_findbuf(buf) > 0
then
if not any_visible and #vim.fn.win_findbuf(buf) > 0 then
any_visible = true
end
end