Skip to content

Commit 43d3061

Browse files
committed
refactor(margin): fix linting violations
1 parent 7bf4e53 commit 43d3061

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

lua/neogit/buffers/status/ui.lua

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -422,14 +422,15 @@ local SectionItemCommit = Component.new(function(item)
422422
}
423423
end
424424

425+
local virt
425426
if visibility then
426-
Virt = {
427+
virt = {
427428
{ " ", "Constant" },
428429
author_table,
429430
date_table,
430431
}
431432
else
432-
Virt = {}
433+
virt = {}
433434
end
434435

435436
return row(
@@ -441,7 +442,7 @@ local SectionItemCommit = Component.new(function(item)
441442
{ text(item.commit.subject) }
442443
),
443444
{
444-
virtual_text = Virt,
445+
virtual_text = virt,
445446
oid = item.commit.oid,
446447
yankable = item.commit.oid,
447448
item = item,

lua/neogit/popups/margin/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ local actions = require("neogit.popups.margin.actions")
44

55
local M = {}
66

7-
function M.create(env)
7+
function M.create()
88
local p = popup
99
.builder()
1010
:name("NeogitMarginPopup")

0 commit comments

Comments
 (0)