jackMort / jackMort/ChatGPT.nvim

Failed to launch in neovim 0.9.5

Open
#371 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Lua
Stars
4k
Forks
317
PR merge metrics
No merged PRs in 30d

Description

```
$ nvim --version
NVIM v0.9.5
Build type: Release
LuaJIT 2.1.1696795921

system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/share/nvim"

Run :checkhealth for more info
```

```
:ChatGPT

Error executing Lua callback: ....local/share/nvim/lazy/ChatGPT.nvim/lua/chatgpt/help.lua:43: attempt to concatenate a table value
stack traceback:
....local/share/nvim/lazy/ChatGPT.nvim/lua/chatgpt/help.lua:43: in function 'get_help_panel'
...e/nvim/lazy/ChatGPT.nvim/lua/chatgpt/flows/chat/base.lua:727: in function 'open'
...e/nvim/lazy/ChatGPT.nvim/lua/chatgpt/flows/chat/init.lua:14: in function 'open_chat'
...nluc/.local/share/nvim/lazy/ChatGPT.nvim/lua/chatgpt.lua:34: in function 'openChat'
...c/.local/share/nvim/lazy/ChatGPT.nvim/plugin/chatgpt.lua:2: in function <...c/.local/share/nvim/lazy/ChatGPT.nvim/plugin/chatgpt.lua:1>
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing :ChatGPT on Neovim 0.9.5, then inspect lua/chatgpt/help.lua at line 43 and the get_help_panel call from flows/chat/base.lua. Determine which value is being concatenated as a table, and verify that the help panel opens without the Lua callback error.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
devtools
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.