jackMort / jackMort/ChatGPT.nvim

Error when using response as input with `C-i`

Open
#48 6 comments 11 reactions 1 assignee Claimed by @jackMort View on GitHub
bug
Dominant language
Lua
Stars
4k
Forks
317
PR merge metrics
No merged PRs in 30d

Description

After entering `:ChatGPTEditWithInstructions` and making my first request, I want to use the reponse as input and use C-i, but it gives me the following error:

```bash
E5108: Error executing lua: ...ack/packer/start/ChatGPT.nvim/lua/chatgpt/code_edits.lua:184: Expected Lua number
stack traceback:
[C]: in function 'nvim_set_current_win'
...ack/packer/start/ChatGPT.nvim/lua/chatgpt/code_edits.lua:184: in function <...ack/packer/start/ChatGPT.nvim/lua/chatgpt/code_edits.lua:179>
```

Any idea what's wrong?

EDIT: [here](https://github.com/ned-si/dotfiles/tree/master/nvim) is my config, in case it helps.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.