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

Avoid using obsolete functions #1562

Merged

Conversation

pocari
Copy link
Contributor

@pocari pocari commented Jun 27, 2024

When we run :checkhealth when neovim is at the following version, the following error will occur

neovim version

% nvim --version
NVIM v0.11.0-dev-314+g724d1110b
Build type: RelWithDebInfo
LuaJIT 2.1.1716656478
Run "nvim -V1 -v" for more info

:checkhealth result

E5009: Invalid $VIMRUNTIME: /home/pocari/usr/local/share/nvim/runtime
Error executing lua: function health#lsp#check, line 1: Vim(call):E117: Unknown function: health#report_start
stack traceback:
        [C]: in function 'call'
        ...e/pocari/usr/local/share/nvim/runtime/lua/vim/health.lua:366: in function '_check'
        [string "<nvim>"]:1: in main chunk

I have fixed it.

@prabirshrestha
Copy link
Owner

should be fixed by #1567.

Thanks for the PR!

@prabirshrestha prabirshrestha merged commit 445c207 into prabirshrestha:master Jul 20, 2024
18 checks passed
@prabirshrestha
Copy link
Owner

Merged this PR instead as it seems to work with both vim and neovim.

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

Successfully merging this pull request may close these issues.

2 participants