Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alllow setting winbled for notification windows #27

Closed
stsewd opened this issue Oct 16, 2021 · 1 comment
Closed

Alllow setting winbled for notification windows #27

stsewd opened this issue Oct 16, 2021 · 1 comment

Comments

@stsewd
Copy link

stsewd commented Oct 16, 2021

windblend is a window option to allow transparency on windows. This is useful so notifications don't totally cover the text in the back. This could be a global option and could be set at these lines

local win = api.nvim_open_win(notif_buf:buffer(), false, win_opts)
vim.wo[win].winhl = "Normal:Normal,FloatBorder:" .. notif_buf.highlights.border
vim.wo[win].wrap = false
self.win_stages[win] = 2

@stsewd
Copy link
Author

stsewd commented Oct 25, 2021

Fixed with #26 (comment)

@stsewd stsewd closed this as completed Oct 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant