Skip to content

Commit 88e638d

Browse files
committed
Fix lua style
1 parent c59aa5e commit 88e638d

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

yazi-plugin/preset/plugins/svg.lua

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ function M:spot(job)
1818
ya.spot_table(
1919
job,
2020
ui.Table(ya.list_merge(rows, require("file"):spot_base(job)))
21-
:area(ui.Pos { "center", w = 60, h = 20 })
22-
:row(job.skip)
23-
:row(1)
24-
:col(1)
25-
:col_style(th.spot.tbl_col)
26-
:cell_style(th.spot.tbl_cell)
27-
:widths { ui.Constraint.Length(14), ui.Constraint.Fill(1) }
21+
:area(ui.Pos { "center", w = 60, h = 20 })
22+
:row(job.skip)
23+
:row(1)
24+
:col(1)
25+
:col_style(th.spot.tbl_col)
26+
:cell_style(th.spot.tbl_cell)
27+
:widths { ui.Constraint.Length(14), ui.Constraint.Fill(1) }
2828
)
2929
end
3030

@@ -44,10 +44,10 @@ function M:spot_base(job)
4444
end
4545

4646
if #info.fonts > 0 then
47-
rows[#rows + 1] = ui.Row({ " Fonts:", tostring(info.fonts[1]) })
47+
rows[#rows + 1] = ui.Row { " Fonts:", tostring(info.fonts[1]) }
4848

4949
for i = 2, #info.fonts do
50-
rows[#rows + 1] = ui.Row({ "", tostring(info.fonts[i]) })
50+
rows[#rows + 1] = ui.Row { "", tostring(info.fonts[i]) }
5151
end
5252
end
5353

0 commit comments

Comments
 (0)