Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of depracated functions #2089

Open
KriBielinski opened this issue Nov 10, 2024 · 0 comments
Open

Use of depracated functions #2089

KriBielinski opened this issue Nov 10, 2024 · 0 comments

Comments

@KriBielinski
Copy link

The issue appears after loading nvim-cmp into Neovim with at least one source (for example: cmp-buffer).

If you then enter command :checkhealth 2 warnings appear:

  • - WARNING vim.str_utfindex is deprecated. Feature will be removed in Nvim 1.0 - ADVICE: - use vim.str_utfindex(s, encoding, index, strict_indexing) instead.
  • - WARNING vim.validate is deprecated. Feature will be removed in Nvim 1.0 - ADVICE: - use vim.validate(name, value, validator, optional_or_msg) instead.

It seems that this happens regardless of which source you use, but there needs to be at least one source.
I have Neovim v0.11.0 and use Lazy.nvim as plugin manager (although I am not sure whether this matters).

Seems like it might be an important issue as this plugin may stop working in the eventual Nvim 1.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant