aboutsummaryrefslogtreecommitdiff
path: root/test/functional/fixtures/lua/test_plug/full_render/health.lua
blob: 10833f6239268ad6e8724ab080bbde3923913c62 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
local M = {}

M.check = function()
  vim.health.start('report 1')
  vim.health.ok('life is fine')
  vim.health.warn('no what installed', { 'pip what', 'make what' })
  vim.health.start('report 2')
  vim.health.info('stuff is stable')
  vim.health.error('why no hardcopy', { ':h :hardcopy', ':h :TOhtml' })
end

return M