I've tried to fix the issue #20283 simply by reversing popup_color and base_fg when calling blend_colors(). It works but doing so, I got the same blending direction than in hl_pum_blend_attr() I'm afraid that I missed something when I see the comment stating that:
/* * Blend for pum opacity space cells: keep underlying fg, blend bg. * This is different from hl_blend_attr(blend_fg=TRUE) where fg blends * in the wrong direction for pum use. */
If the fix is ok, I'll look to add/update the tests
Before the patch
catppuccin-termguicolor.png (view on web)
After the patch
catppuccin-termguicolor-after-patch.png (view on web)
https://github.com/vim/vim/pull/20284
(1 file)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.![]()
Thanks, but I'd like to hear @mattn opinion on this first ?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.![]()
As you said, it certainly looks like the degree of opacity is reversed. I'll check it.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.![]()
LGTM. Please fix with comments to be first = 0% side, second = 100% side. Thanks
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.![]()
@shadowwa pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
LGTM. Please fix with comments to be
first = 0% side, second = 100% side. Thanks
I'm sorry, I didn't quite get the comments you wanted me to fix.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.![]()