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: deprecation warning for Neovim healthcheck #610

Merged
merged 1 commit into from
Oct 14, 2023
Merged

Fix: deprecation warning for Neovim healthcheck #610

merged 1 commit into from
Oct 14, 2023

Conversation

pappasam
Copy link
Contributor

The current health check code is using deprecated functions that will be removed in Neovim 0.11.

checkhealth Output before PR

mkdp: health#mkdp#check

- Platform: linux
- WARNING health#report_info is deprecated, use vim.health.info instead. :help |deprecated|
  This feature will be removed in Nvim version 0.11
- Nvim Version: NVIM v0.10.0-dev-4eea609
- Node version: v18.7.0
  
- Script: .../markdown-preview.nvim/app/server.js
- Script exists: 1
- OK Using node
- WARNING health#report_ok is deprecated, use vim.health.ok instead. :help |deprecated|
  This feature will be removed in Nvim version 0.11

checkhealth Output after PR

mkdp: health#mkdp#check

- Platform: linux
- Nvim Version: NVIM v0.10.0-dev-4eea609
  Build type: RelWithDebInfo
  LuaJIT 2.1.1696795921
  Run "nvim -V1 -v" for more info
- Node version: v18.7.0
- Script: .../markdown-preview.nvim/app/server.js
- Script exists: 1
- OK Using node

@iamcco iamcco merged commit 7821933 into iamcco:master Oct 14, 2023
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