File tree 3 files changed +6
-3
lines changed
3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,9 @@ M.defaults = {
18
18
packpath = vim .fn .stdpath (" data" ) .. " /site/pack/lazy" ,
19
19
lockfile = vim .fn .stdpath (" config" ) .. " /lazy-lock.json" ,
20
20
view = {
21
+ ui = {
22
+ -- The border to use for the UI window. Accepts same border values as |nvim_open_win()|.
23
+ border = " none" ,
21
24
icons = {
22
25
start = " " ,
23
26
plugin = " " ,
@@ -26,10 +29,9 @@ M.defaults = {
26
29
event = " " ,
27
30
keys = " " ,
28
31
cmd = " " ,
29
- ft = " " ,
32
+ ft = " " ,
30
33
task = " ✔ " ,
31
34
},
32
- },
33
35
install_missing = true ,
34
36
git = {
35
37
-- defaults for `Lazy log`
Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ function M.show(mode)
53
53
local opts = {
54
54
relative = " editor" ,
55
55
style = " minimal" ,
56
+ border = Config .options .ui .border ,
56
57
width = math.min (vim .o .columns - hpad * 2 , 200 ),
57
58
height = math.min (vim .o .lines - vpad * 2 , 70 ),
58
59
}
Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ function M:reason(reason, opts)
237
237
value = value :match (" User (.*)" ) or value
238
238
end
239
239
local hl = " LazyLoader" .. key :sub (1 , 1 ):upper () .. key :sub (2 )
240
- local icon = Config .options .view .icons [key ]
240
+ local icon = Config .options .ui .icons [key ]
241
241
if icon then
242
242
self :append (icon .. " " , hl )
243
243
self :append (value , hl )
You can’t perform that action at this time.
0 commit comments