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

Allow user to optionally override the hl group of suggestions

Open JasonBoyett opened this issue 1 year ago • 0 comments

I think this would be a nice feature and that some users would appreciate the added customization. I personally set the Comment hl group in my config to be italic and a specific color. I don't want my copilot suggestions to be the same as my comments. I was able to solve this issue in my own config by overriding the CopilotSuggestion hl group but I only figured this out by looking through the code. If providing it as a configuration option doesn't seem rite then perhaps a quick mention of how to set your suggestion styles in the docs could be useful.

I'm sure I could implement this myself and would be happy to do so.

JasonBoyett avatar Oct 03 '24 15:10 JasonBoyett