diff options
author | Javier Lopez <graulopezjavier@gmail.com> | 2021-10-05 17:37:39 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-05 15:37:39 -0700 |
commit | acd5e831b6294e54b12c09983bee3da89c0f183a (patch) | |
tree | b8817b289ab051f4df080282e414399d2a45d4c7 /test/functional/lua/api_spec.lua | |
parent | 6a930a9dc4ddf190b528c945f19bc0a0bad2cc29 (diff) | |
download | rneovim-acd5e831b6294e54b12c09983bee3da89c0f183a.tar.gz rneovim-acd5e831b6294e54b12c09983bee3da89c0f183a.tar.bz2 rneovim-acd5e831b6294e54b12c09983bee3da89c0f183a.zip |
fix(checkhealth): mitigate issues with duplicate healthchecks #15919
* fix(runtime/health): mitigate issues with duplicate healthchecks
Previously if a healthcheck was found as Lua and Vim it was executed
both times.
This new implementations prefers Lua, therefore if two are found It only
runs the Lua one, this way a plugin can mantain both implementations the
Lua one with the method `check()` and the autoload function `#check()`
(for none HEAD nvim versions).
**Note: This will require plugins to use `check()` as the function name,
since the autoload function that wraps the lua implementation won't be
called**
* docs(health): use spaces and don't overuse backtics
followup to #15259
Diffstat (limited to 'test/functional/lua/api_spec.lua')
0 files changed, 0 insertions, 0 deletions