ChatGPT.nvim
ChatGPT.nvim copied to clipboard
Error at `:qa` after running `:ChatGPTEditWithInstructions`
If I run :ChatGPTEditWithInstructions in current session and then quit nvim by :qa, then error happens:
However I can't find the buffer 8

Here is my configuration
return {
-- Coding with ChatGPT
"jackMort/ChatGPT.nvim",
dependencies = {
"MunifTanjim/nui.nvim",
"nvim-lua/plenary.nvim",
"nvim-telescope/telescope.nvim"
},
keys = {
{ "<leader>t", "<cmd>ChatGPT<cr>", desc = "ChatGPT" },
{ "<leader><C-t>", "<cmd>ChatGPTActAs<cr>", desc = "ChatGPT with awesome prompt" },
{ "<leader>T", "<cmd>ChatGPTEditWithInstructions<cr>", mode = { "x", "n" }, desc = "ChatGPT with code" },
},
opts = {
keymaps = {
scroll_up = "<C-b>",
scroll_down = "<C-f>",
}
}
}
Is this a bug? how to resolve this? Thanks!
PS: BTW, it seems keymaps close can't work in :ChatGPTEditWithInstructions. <Esc> can't close prompt.