hrsh7th / nvim-cmp

A completion plugin for neovim coded in Lua.
MIT License
7.45k stars 370 forks source link

feat: make winblend configurable #1861

Closed ofseed closed 3 months ago

ofseed commented 3 months ago

Set cmp window's winblend to pumblend makes it consistent with neovim itself, but there is a case:

image

As you can see above, some of the nerd icons on the left side of the window are small, that's because terminals render nerd icons as two characters wide if there is a space on their right. If pumblend is set, the right of the nerd icon will be a character under the window instead of a space. So I think a positive value of winblend is not suit for cmp in some case.

In current implementation, there's no way to make cmp's winblend different from other popup windows, if I want to change cmp, I must change them all. So I recommend making this option configurable.

hrsh7th commented 3 months ago

make sense. Thank you.