refactor(checkhealth)!: rename to vim.health, move logic to Lua #18720

- Complete function:
  There was lots of unnecessary C code for the complete function, therefore
  moving it to Lua and use all the plumbing we have in place to retrieve the
  results.
- Moving the module:
  It's important we keep nvim lua modules name spaced, avoids conflict with
  plugins, luarocks, etc.
This commit is contained in:
Javier Lopez
2022-05-31 13:10:18 -05:00
committed by GitHub
parent 7380ebfc17
commit e6652821bd
8 changed files with 89 additions and 116 deletions

View File

@@ -49,6 +49,7 @@ for k, v in pairs({
diagnostic = true,
keymap = true,
ui = true,
health = true,
}) do
vim._submodules[k] = v
end