CopilotC-Nvim / CopilotChat.nvim

Chat with GitHub Copilot in Neovim
https://copilotc-nvim.github.io/CopilotChat.nvim/
GNU General Public License v3.0
1.44k stars 67 forks source link

feature: enhanced rendering of the chat widow #334

Closed folke closed 3 months ago

folke commented 3 months ago

Are you interested in a PR that allows customizing the chat window like in the screenshot?

image

deathbeam commented 3 months ago

So that basically adds horizontal line after the headers? Imo that looks pretty good yea (was also kinda original intention to just have some sort of horizontal line there but sadly treesitter markdown highlight for -- horizontal line was kinda just breaking the highlighting, see #239).

Im assuming it can also be done in nicer way than just iterating through eveything when its part of the plugin instead of it being autocmd.

folke commented 3 months ago

That and I'd also allow styling the headers themselves. CopilotChatQuestionHeader and CopilotChatAnswerHeader linknig by default to @markup.heading.2.markdown, so that users/colorschemes can easily style it