zbirenbaum / copilot-cmp

Lua plugin to turn github copilot into a cmp source
MIT License
1.08k stars 39 forks source link

yesterday's commit introduced a bug #50

Closed Vinni-Cedraz closed 1 year ago

Vinni-Cedraz commented 1 year ago

Error detected while processing TextChangedI Autocommands for "*": Error executing lua callback: .../nvim/site/pack/packer/start/nvim-cmp/lua/cmp/source.lua:325: attempt to call method 'com plete' (a nil value) stack traceback: .../nvim/site/pack/packer/start/nvim-cmp/lua/cmp/source.lua:325: in function 'complete' ...re/nvim/site/pack/packer/start/nvim-cmp/lua/cmp/core.lua:289: in function 'complete' ...re/nvim/site/pack/packer/start/nvim-cmp/lua/cmp/core.lua:169: in function 'callback' ...re/nvim/site/pack/packer/start/nvim-cmp/lua/cmp/core.lua:219: in function 'autoindent' ...re/nvim/site/pack/packer/start/nvim-cmp/lua/cmp/core.lua:161: in function 'on_change' ...re/nvim/site/pack/packer/start/nvim-cmp/lua/cmp/init.lua:313: in function 'callback' ...ite/pack/packer/start/nvim-cmp/lua/cmp/utils/autocmd.lua:49: in function 'emit' ...ite/pack/packer/start/nvim-cmp/lua/cmp/utils/autocmd.lua:23: in function <...ite/pack/packer/start/nvim-cmp/lua /cmp/utils/autocmd.lua:22>

zbirenbaum commented 1 year ago

Can you provide any info on how to reproduce this? I haven't seen this error so far.

jamesnaftel commented 1 year ago

I saw this when still had hrsh7th/cmp-copilot installed. Once removed, all was well.

zbirenbaum commented 1 year ago

Closing because this ins't reproducible and is caused by a plugin conflict