Closed HPRIOR closed 1 year ago
Same here. I'm using Paq as a package manager. Plugin was working fine mid April.
If I quit :ChatGPT
by running :q!
I get nothing when I run :ChatGPT
again.
When the dialog is open, if you quit using <Ctrl-c>
, then you can open it again, and it shouldn't break other plugins
When trying to quit with Ctrl-c
there is an error:
There is no checkhealth
for this plugin. I'm running latest nvim stable
NVIM v0.9.1
Build type: Release
LuaJIT 2.1.0-beta3
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/__w/neovim/neovim/build/nvim.AppDir/usr/share/nvim"
Run :checkhealth for more info
E5108: Error executing lua: ...m/site/pack/packer/start/nui.nvim/lua/nui/popup/init.lua:161: BufWinLeave Autocommands for "<buffer=6>": Vim(mkview):E32: No file name
stack traceback:
[C]: in function 'nvim_win_close'
...m/site/pack/packer/start/nui.nvim/lua/nui/popup/init.lua:161: in function '_close_window'
...m/site/pack/packer/start/nui.nvim/lua/nui/popup/init.lua:239: in function 'hide'
...site/pack/packer/start/nui.nvim/lua/nui/layout/float.lua:167: in function 'hide_box'
.../site/pack/packer/start/nui.nvim/lua/nui/layout/init.lua:330: in function 'hide'
...acker/start/ChatGPT.nvim/lua/chatgpt/flows/chat/base.lua:803: in function 'hide'
...acker/start/ChatGPT.nvim/lua/chatgpt/flows/chat/base.lua:674: in function <...acker/start/ChatGPT.nvim/lua/chatgpt/flows/chat/base.lua:673>
this error with closing by :q should be fixed now
Thanks you, it's fixed. Thanks everyone else for the tips too
This seems to have returned. After quitting the window and returning, I get:
Error executing Lua callback: .../.local/share/nvim/lazy/nui.nvim/lua/nui/layout/init.lua:258: BufWinEnter Autocommands for "*": Vim(append):Error executing lua callback: Vim:E5300: Expected a Number or a String
i'm having the same problem, commit cbd2668
, branch main
on arch linux:
It occurs both when i exit with the shortcut and :q, the error message is the following:
E5108: Error executing lua: ...i/.local/share/nvim/lazy/nui.nvim/lua/nui/popup/init.lua:189: BufWinLeave Autocommands for "<buffer=8>": Vim(mkview):E32: No file name
stack traceback:
[C]: in function 'nvim_win_close'
...i/.local/share/nvim/lazy/nui.nvim/lua/nui/popup/init.lua:189: in function '_close_window'
...i/.local/share/nvim/lazy/nui.nvim/lua/nui/popup/init.lua:268: in function 'hide'
....local/share/nvim/lazy/nui.nvim/lua/nui/layout/float.lua:175: in function 'hide_box'
.../.local/share/nvim/lazy/nui.nvim/lua/nui/layout/init.lua:364: in function 'hide'
...e/nvim/lazy/ChatGPT.nvim/lua/chatgpt/flows/chat/base.lua:1037: in function 'hide'
...e/nvim/lazy/ChatGPT.nvim/lua/chatgpt/flows/chat/base.lua:837: in function <...e/nvim/lazy/ChatGPT.nvim/lua/chatgpt/flows/chat/base.lua:836>
Thank you for the great plugin, i hope this report will help you make this great extension even better.
After opening the chat prompt with
:ChatGPT
, the window opens fine and the plugin is working. After closing the window and executing the command again nothing happens. If I try to open another plugin, for example mason with:Mason
, I get the error:This does not occur if I execute
:ChatGPT
once, and then do not attempt the command again.I am using Plug to install the plugin, and calling
setup
early in the startup