| 12345678910111213141516171819 |
- local proj_conf = require("proj-conf")
- return {
- check = function()
- vim.health.start("Project Settings")
- if proj_conf.status().loaded ~= true then
- vim.health.warn("Not loaded")
- return
- end
- vim.health.info("Initial settings: " ..
- table.concat(proj_conf.status().initial, ", "))
- for _, item in pairs(proj_conf.status().failed) do
- vim.health.error(item)
- end
- for _, item in pairs(proj_conf.status().found) do
- vim.health.ok(item)
- end
- end
- }
|