finalconfig of modular

This commit is contained in:
Nikhil 2025-08-19 01:30:25 +05:30
parent ad12ab12d4
commit d6e72bd4c1
7 changed files with 0 additions and 0 deletions

29
lua/plugins/health.lua Normal file
View file

@ -0,0 +1,29 @@
--[plugins/health.lua]
return {
{
"nvim-lua/plenary.nvim",
config = function()
local health = vim.health or require("health")
health.start("System Checks")
-- Check Neovim version
local version = vim.version()
if version and version.major >= 0 and version.minor >= 9 then
health.ok("Neovim version is sufficient: " .. version.major .. "." .. version.minor)
else
health.error("Neovim 0.9+ required, found " .. version.major .. "." .. version.minor)
end
-- Check executables
local executables = { "git", "make", "unzip", "rg" }
for _, exe in ipairs(executables) do
if vim.fn.executable(exe) == 1 then
health.ok(exe .. " is installed")
else
health.warn(exe .. " not found in PATH")
end
end
end,
},
}