Closed mtaciano closed 11 months ago
Please see this.
Closing this issue as it was kind of fixed by https://github.com/hrsh7th/nvim-cmp/pull/1734. Although, as a side effect, the ghost type word doesn't appear anymore. At least no more errors are shown.
FAQ
Announcement
Minimal reproducible full config
Description
With neovim version 0.10.0, every time the user invokes the completion menu, the following error is thrown:
Looking at the error message, it indicates that this line is to blame: https://github.com/hrsh7th/nvim-cmp/blob/d3a3056204e1a9dbb7c7fe36c114dc43b681768c/lua/cmp/entry.lua#L127
Steps to reproduce
Open a file and let the LSP for that file type load. After that, type some text so that the ghost text appears.
Expected behavior
No error message is shown.
Actual behavior
An error message is shown for every new buffer.
Additional context
It seems that the function
vim.lsp.util.parse_snippet
and otherutil
functions are going to be deprecated, see https://github.com/neovim/neovim/commit/195301c60969c7ce97b1ef3a3caaf4965da1abd5.