mirror of
https://github.com/folke/snacks.nvim
synced 2025-07-07 21:25:11 +00:00
fix(picker): allow overriding winhl of layout box wins. Closes #1424
This commit is contained in:
parent
9ccf2d235b
commit
b0f983ef9a
1 changed files with 1 additions and 1 deletions
|
@ -273,7 +273,7 @@ function M:init_layout(layout)
|
|||
-- apply box highlight groups
|
||||
local boxwhl = Snacks.picker.highlight.winhl("SnacksPickerBox")
|
||||
for _, win in pairs(self.layout.box_wins) do
|
||||
win.opts.wo.winhighlight = boxwhl
|
||||
win.opts.wo.winhighlight = Snacks.util.winhl(boxwhl, win.opts.wo.winhighlight)
|
||||
end
|
||||
return layout
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue