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

feat(checkhealth): support for neovim :checkhealth feature #215

Merged
merged 2 commits into from
Sep 5, 2024

Conversation

vyskocilm
Copy link
Contributor

@vyskocilm vyskocilm commented Sep 4, 2024

Support for neovim health check protocol
https://neovim.io/doc/user/health.html Windows supported too.

:checkhealth kulala prints following.

==============================================================================
kulala: require("kulala.health").check()

- {kulala.nvim} version 3.7.0
- OK {curl} found

Checking formatters ~
- OK {text/html} formatter: xmllint --format --html -
- WARNING {application/json} formatter not found
- OK {application/xml} formatter: xmllint --format -

Inspired by MIT licensed telescope healthcheck
https://github.com/nvim-telescope/telescope.nvim/blob/master/lua/telescope/health.lua and https://github.com/folke/lazy.nvim/blob/main/lua/lazy/health.lua

Support for neovim health check protocol
https://neovim.io/doc/user/health.html Windows supported too.

`:checkhealth kulala` prints following.

```
==============================================================================
kulala: require("kulala.health").check()

Checking external dependencies ~
- OK Found curl
- ERROR Missing jq
- OK Found xmllint
```

Inspired by MIT licensed telescope healthcheck
https://github.com/nvim-telescope/telescope.nvim/blob/master/lua/telescope/health.lua
@gorillamoe gorillamoe self-assigned this Sep 4, 2024
@gorillamoe gorillamoe added the enhancement New feature or request label Sep 4, 2024
Copy link
Member

@gorillamoe gorillamoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏾

@gorillamoe gorillamoe merged commit 813a1d2 into mistweaverco:main Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants