chore: apply formatting
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user