File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
yazi-plugin/preset/plugins Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff 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 )
2929end
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
You can’t perform that action at this time.
0 commit comments