Files
neovim/test/functional/fixtures/lua/test_plug/submodule/health.lua
dundargoc c08b030761 refactor: deprecate checkhealth functions
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()
2023-04-15 23:40:48 +02:00

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