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

M.check = function()
  vim.health.report_start("report 1")
  vim.health.report_ok("everything is fine")
  vim.health.report_warn("About to add a number to nil")
  local a = nil + 2
  return a
end

return M