aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_editor.lua
diff options
context:
space:
mode:
authorJavier Lopez <graulopezjavier@gmail.com>2022-05-31 13:10:18 -0500
committerGitHub <noreply@github.com>2022-05-31 11:10:18 -0700
commite6652821bd32e4ff8d62a0b67fc2041a5f41e252 (patch)
treecc5106c44d65f8f504a4f3ba6654b918a6f33c13 /runtime/lua/vim/_editor.lua
parent7380ebfc17723662f6fe1e38372f54b3d67fe082 (diff)
downloadrneovim-e6652821bd32e4ff8d62a0b67fc2041a5f41e252.tar.gz
rneovim-e6652821bd32e4ff8d62a0b67fc2041a5f41e252.tar.bz2
rneovim-e6652821bd32e4ff8d62a0b67fc2041a5f41e252.zip
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.
Diffstat (limited to 'runtime/lua/vim/_editor.lua')
-rw-r--r--runtime/lua/vim/_editor.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/lua/vim/_editor.lua b/runtime/lua/vim/_editor.lua
index e6ab48f30d..c8a0aa8260 100644
--- a/runtime/lua/vim/_editor.lua
+++ b/runtime/lua/vim/_editor.lua
@@ -49,6 +49,7 @@ for k, v in pairs({
diagnostic = true,
keymap = true,
ui = true,
+ health = true,
}) do
vim._submodules[k] = v
end