gp.nvim icon indicating copy to clipboard operation
gp.nvim copied to clipboard

Set popup filetype to `markdown`

Open helins opened this issue 1 year ago • 2 comments

It is very convenient being able to quickly ask something without creating a new chat file, however it would be much better if the the filetype of the popup was set to markdown to provide nice highlighting.

helins avatar Feb 15 '24 15:02 helins

Sorry for late response, I've been away for few weeks.

GpPopup already uses markdown filetype https://github.com/Robitx/gp.nvim/blob/d660d9be8d871027c5135c961e33cebb72745227/lua/gp/init.lua#L2713 screenshot_2024-02-27_21-59-56_429057316

Can you describe the behavior you see in more detail?

Robitx avatar Feb 27 '24 21:02 Robitx

I noticed that problem, too. When ":GpChatToggle popup", the popup is not in markdown.

Dronakurl avatar Apr 09 '24 19:04 Dronakurl