ChatGPT.nvim icon indicating copy to clipboard operation
ChatGPT.nvim copied to clipboard

Transparent background black shadow hlgroup?

Open mattiasbonte opened this issue 2 years ago • 9 comments

Hi,

I was trying out your plugin but stumbled upon this (highlight?) issue. The background appears black. It looks as if it's a shadow.. I might be wrong though. I'm not familiar with styling/hlgroup manipulation.

image

Would you have any idea what might be causing this and how I could fix it? I'm using the catpuccin colorscheme.

Thank you for your time.

mattiasbonte avatar Dec 15 '22 00:12 mattiasbonte

What terminal emulator are you using? Is this happening on default plugin config or you have some overrides?

jackMort avatar Dec 15 '22 06:12 jackMort

I'm using wezterm. But I don't think it has much to do with the emulator. I tried Kitty and Alacritty and they also show the same background. I tried it with an empty config and tried to change the highlight groups but without success. To me it looks like it's a shadow. Could it be that nui is producing this?

mattiasbonte avatar Dec 15 '22 09:12 mattiasbonte

@jackMort can you try setting grow = 1 instead of size = "90%" here?

https://github.com/jackMort/ChatGPT.nvim/blob/d7703bd2453a1599367b3fd7df109601ee3783e4/lua/chatgpt/module.lua#L43

MunifTanjim avatar Dec 15 '22 20:12 MunifTanjim

Thanks a lot, that's something I've been looking for 🙏

jackMort avatar Dec 15 '22 21:12 jackMort

Problem still exists on my side. still getting that shadow

Leo310 avatar Dec 20 '22 15:12 Leo310

Could you please share the screenshot?

jackMort avatar Dec 20 '22 16:12 jackMort

using alacitty: image

Leo310 avatar Dec 20 '22 16:12 Leo310

Can confirm, problem still exists.

mattiasbonte avatar Dec 21 '22 22:12 mattiasbonte

Can confirm I have the same issue.

vladovidiu avatar Dec 23 '22 09:12 vladovidiu

Can you check if the issue still exists with https://github.com/MunifTanjim/nui.nvim/pull/231?

MunifTanjim avatar Jan 03 '23 09:01 MunifTanjim

I had same issue with different colorschemes, but it looks like it was solved, great job!

jackMort avatar Jan 03 '23 10:01 jackMort

yeah seems to be working

Leo310 avatar Jan 03 '23 14:01 Leo310