health.lua (320B)
1 local M = {} 2 3 M.check = function() 4 vim.health.start('report 1') 5 vim.health.ok('life is fine') 6 vim.health.warn('no what installed', { 'pip what', 'make what' }) 7 vim.health.start('report 2') 8 vim.health.info('stuff is stable') 9 vim.health.error('why no hardcopy', { ':h :hardcopy', ':h :TOhtml' }) 10 end 11 12 return M