You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
The text was updated successfully, but these errors were encountered:
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 theCopilotSuggestion
andCopilotAnnotation
highlights. At first, I thoughtcopilot.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 becausecopilot.lua
uses the same highlight names ascopilot.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).
The text was updated successfully, but these errors were encountered: