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

ChatGPTEditWithInstructions is broken when using lazyvim dashboard

Open mshirlaw-alteryx opened this issue 2 years ago • 3 comments

The default configuration for lazyvim uses dashboard-nvim to show a splash screen. When using the ChatGPTEditWithInstructions command on this screen the UI is broken (see image).

Screenshot 2023-11-08 at 9 25 52 pm

The same issue is not present with the ChatGPT command (see image)

Screenshot 2023-11-08 at 9 26 34 pm

I am not sure if this is a ChatGPT.nvim issue or something better addressed by lazyvim or dashboard.nvim

Anyone else able to reproduce?

mshirlaw-alteryx avatar Nov 08 '23 10:11 mshirlaw-alteryx

I don't have this issue but the EditWithInstructions command is broken for me - just spins endlessly, eventually shows some error about json parsing.

joeldrotleff avatar Nov 09 '23 19:11 joeldrotleff

Ah nevermind I got it working. I had added code to my curlrc file to include timing information in the output, but it seems that interfered with EditWithInstructions (Even though the main functionality of ChatGPT plugin wasn't affected)

joeldrotleff avatar Nov 09 '23 19:11 joeldrotleff

Perhaps we just need a way to disable this command on the splash screen (unless there already is a way). I'm not sure what would be a sensible alternative - I can't imagine wanting to use the splash screen as context for a question to GPT cc @jackMort

mshirlaw-alteryx avatar Nov 13 '23 16:11 mshirlaw-alteryx