copilot.lua icon indicating copy to clipboard operation
copilot.lua copied to clipboard

[Bug + Feature Request] Allow the color/style of the copilot text to be modifiable

Open BenjyRead opened this issue 8 months ago • 2 comments

I've been using this plugin for ages (unfortunately I have compulsions to vibe every now and then...), and this is a recent bug.

Image

This bug is occurring because it is copying the treesitter font/style of the bracket.

This is what it looks like normally:

Image

However, this looks cool as hell and I want more of it. Can we make the color/style of the copilot text configurable

BenjyRead avatar Apr 30 '25 18:04 BenjyRead

Interesting, this is due to the 'in-line virtual text' I added recently. I did not encounter this behavior in my tests, I'll see if I can replicate it. If you have a minimal.lua that can replicate it, it would go a long way!

For the feature req part, could you make that a separate issue? Thanks!

AntoineGS avatar May 02 '25 13:05 AntoineGS

For the bug part, looks like https://github.com/zbirenbaum/copilot.lua/pull/476 would fix it, could you checkout that branch and see if it fixes it? I am running behind on PR review so I have not had a chance to review that PR yet to merge it.

AntoineGS avatar May 02 '25 13:05 AntoineGS

closing as stale

AntoineGS avatar Aug 29 '25 15:08 AntoineGS