After updating Neovim, I'm getting the following error when trying to autocomplete:
E5108: Error executing lua: ...vim/HEAD-0fcbda5/share/nvim/runtime/lua/vim/lsp/util.lua:423: Explicit buffer number is required
stack traceback:
[C]: in function 'assert'
...vim/HEAD-0fcbda5/share/nvim/runtime/lua/vim/lsp/util.lua:423: in function 'apply_text_edits'
...l/share/nvim/lazy/copilot.lua/lua/copilot/suggestion.lua:487: in function <...l/share/nvim/lazy/copilot.lua/lua/copilot/suggestion.lua:445>
It is almost definitely related to this change: neovim/neovim#27614, and I think the fix would be to pass the current buffer here, but I don't know enough about Lua to be 100% sure.
After updating Neovim, I'm getting the following error when trying to autocomplete:
It is almost definitely related to this change: neovim/neovim#27614, and I think the fix would be to pass the current buffer here, but I don't know enough about Lua to be 100% sure.