feat: make winblend configurable (#1861)

This commit is contained in:
Yi Ming
2024-03-24 19:44:34 +08:00
committed by GitHub
parent c34fa793ea
commit 97dc716fc9
5 changed files with 11 additions and 2 deletions

View File

@@ -107,6 +107,7 @@ return function()
completion = {
border = { '', '', '', '', '', '', '', '' },
winhighlight = 'Normal:Pmenu,FloatBorder:Pmenu,CursorLine:PmenuSel,Search:None',
winblend = vim.o.pumblend,
scrolloff = 0,
col_offset = 0,
side_padding = 1,
@@ -117,6 +118,7 @@ return function()
max_width = math.floor((WIDE_HEIGHT * 2) * (vim.o.columns / (WIDE_HEIGHT * 2 * 16 / 9))),
border = { '', '', '', ' ', '', '', '', ' ' },
winhighlight = 'FloatBorder:NormalFloat',
winblend = vim.o.pumblend,
},
},
}