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

Fix health check #248

Merged
merged 1 commit into from
Sep 9, 2024
Merged

Conversation

djensenius
Copy link
Contributor

The health check file is using deprecated methods. This fixes the health check file to use the latest methods.

@salkin-mada
Copy link
Contributor

salkin-mada commented Jul 16, 2024

Nice! @djensenius
Should it maybe be backwards compatible?

ping -> #246

@davidgranstrom
Copy link
Owner

Thanks for this!

As @salkin-mada mentions, ideally it could be made backwards compat until we decide on a new minimum nvim version. Perhaps something like this, or by using a version check.

local report_error = health.error or health.report_error
local report_ok = health.ok or health.report_ok
-- etc.

@davidgranstrom davidgranstrom merged commit 77aaade into davidgranstrom:main Sep 9, 2024
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.

3 participants