diff options
| author | Christian Clason <c.clason@uni-graz.at> | 2023-05-05 18:15:44 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-05 18:15:44 +0200 |
| commit | c8ebb04e92c9646d83110f4b45f1d1dfd5316561 (patch) | |
| tree | 4049297ab58eb8a1dc833d727d4727e5fd846ce4 /runtime/doc | |
| parent | c14aa66cce679e6ff4343401e448d47413660b0c (diff) | |
| download | rneovim-c8ebb04e92c9646d83110f4b45f1d1dfd5316561.tar.gz rneovim-c8ebb04e92c9646d83110f4b45f1d1dfd5316561.tar.bz2 rneovim-c8ebb04e92c9646d83110f4b45f1d1dfd5316561.zip | |
fix(health): replace healthFoo with DiagnosticFoo (#23475)
This replaces the custom `health{Error,Warning,Success}` highlight
groups with `Diagnostic{Error,Warning,Ok}`, which are defined by
default. Removes the link for `healthHelp`, which was no longer
actually used after #20879.
Diffstat (limited to 'runtime/doc')
| -rw-r--r-- | runtime/doc/pi_health.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/runtime/doc/pi_health.txt b/runtime/doc/pi_health.txt index 266c021ecc..bcc933d8b2 100644 --- a/runtime/doc/pi_health.txt +++ b/runtime/doc/pi_health.txt @@ -12,7 +12,7 @@ any other environment conditions that a plugin might care about. Nvim ships with healthchecks for configuration, performance, python support, ruby support, clipboard support, and more. -To run all healthchecks, use: > +To run all healthchecks, use: >vim :checkhealth < @@ -32,17 +32,17 @@ Commands *health-commands* :che[ckhealth] {plugins} Run healthcheck(s) for one or more plugins. E.g. to run only - the standard Nvim healthcheck: > + the standard Nvim healthcheck: >vim :checkhealth nvim < To run the healthchecks for the "foo" and "bar" plugins (assuming they are on 'runtimepath' and they have implemented - the Lua `require("foo.health").check()` interface): > + the Lua `require("foo.health").check()` interface): >vim :checkhealth foo bar < To run healthchecks for Lua submodules, use dot notation or "*" to refer to all submodules. For example Nvim provides - `vim.lsp` and `vim.treesitter`: > + `vim.lsp` and `vim.treesitter`: >vim :checkhealth vim.lsp vim.treesitter :checkhealth vim* < @@ -100,7 +100,7 @@ All such health modules must return a Lua table containing a `check()` function. Copy this sample code into `lua/foo/health.lua`, replacing "foo" in the path -with your plugin name: > +with your plugin name: >lua local M = {} |