MunifTanjim / nui.nvim

UI Component Library for Neovim.
MIT License
1.62k stars 57 forks source link

[Feature request] Set winblend in border window #309

Closed protiumx closed 10 months ago

protiumx commented 10 months ago

Description

Currently when using the option winblend in the popup, it only applies to the popup window but not to the border, leaving the popup with an unmatched border. image

Workaround

Looking at the code, I was able to use nvim_win_set_option to add set the winblend option in the border window

vim.api.nvim_win_set_option(self.popup.border.winid, 'winblend', 20)

I could push a PR if the feature makes sense 🚀

MunifTanjim commented 10 months ago

Thanks for reporting! This should be fixed now.