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: add advice list to error health check #44

Open
Agent-E11 opened this issue Jul 12, 2024 · 0 comments
Open

feat: add advice list to error health check #44

Agent-E11 opened this issue Jul 12, 2024 · 0 comments

Comments

@Agent-E11
Copy link
Contributor

Agent-E11 commented Jul 12, 2024

There is an optional advice parameter to the error function in vim.health. This is a list of suggestions for the user. This could be something like:

local advice = {
  "If on Termux: Install Termux:API (url: ...)",
  "If on Linux: Install acpi",
  "If on MacOS: Install `pmset`", -- Is this supposed to be installed already?
  "If on Windows: I have no idea..., powershell should just work",
  "If nothing is working for you, create an issue at github.com/justinghj/battery.nvim/issues/new",
}
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

No branches or pull requests

1 participant