-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
:checkhealth telescope._extensions.repo
error
#77
Comments
Could you please also share the neovim version you are using @mimikun ? |
my version: NVIM v0.11.0-dev-777+g78b851093
Build type: RelWithDebInfo
LuaJIT 2.1.1724512491
Run "nvim -V1 -v" for more info |
I ran checkhealth on neovim 0.10.1 and got the following results: ❯ nvim --version
NVIM v0.10.1
Build type: Release
LuaJIT 2.1.1713484068
Run "nvim -V1 -v" for more info
I don't know how to fix this because I'm making the plugin with only the latest version of neovim in mind |
Ok, so when the command is run on 0.10, the plugin uses a soon to be deprecated API. From the output:
and then the output from Nvim 0.11 reads:
So presumably this was removed already from Nvim 0.11. At the moment telescope-repo.nvim requires Nvim 0.7. We could either
local report_ok = vim.health.ok or vim.health.report_ok Considering there is already a fallback implemented, I think it’s a good time to require a more modern nvim and simplify the code (so option 1. above). You can try to open a PR for that if you want or I’ll do it eventually. |
minimal reproduce config:
error message:
The text was updated successfully, but these errors were encountered: