mirror of
https://github.com/neovim/neovim.git
synced 2025-09-09 21:08:17 +00:00

The following functions are deprecated and will be removed in Nvim v0.11: - health#report_start() - health#report_info() - health#report_ok() - health#report_warn() - health#report_error() - vim.health.report_start() - vim.health.report_info() - vim.health.report_ok() - vim.health.report_warn() - vim.health.report_error() Users should instead use these: - vim.health.start() - vim.health.info() - vim.health.ok() - vim.health.warn() - vim.health.error()
11 lines
188 B
Lua
11 lines
188 B
Lua
local M = {}
|
|
|
|
M.check = function()
|
|
vim.health.start('report 1')
|
|
vim.health.ok('everything is fine')
|
|
vim.health.start('report 2')
|
|
vim.health.ok('nothing to see here')
|
|
end
|
|
|
|
return M
|