Description
Messing around with copilot.vim
, I noticed the suggestions had a different color. I looked into it and found my color scheme (Catppuccin) sets custom colors for the CopilotSuggestion
and CopilotAnnotation
highlights. At first, I thought copilot.lua
might use different names, which would explain why the integrations weren't working. But after checking the code (lua/copilot/highlight.lua
), that's not the case because copilot.lua
uses the same highlight names as copilot.vim
.
It looks like the default link that the setup makes (copilot highlights to comments highlights) is overwriting or stopping the custom highlights from the color scheme from being applied. I can't say which of those two things is actually happening (or maybe another thing that I don't know).