mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -07:00
e6652821bd
- 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.
7 lines
155 B
Lua
7 lines
155 B
Lua
return setmetatable({}, {
|
|
__index = function(_, k)
|
|
vim.deprecate("require('health')", 'vim.health', '0.9', false)
|
|
return vim.health[k]
|
|
end,
|
|
})
|