Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions v2/nvim/lua/nairovim/plugins/lualine.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@ local mcp_status_component = {
end,
color = function()
if not vim.g.loaded_mcphub then
return { fg = "#6c7086" } -- Gray for not loaded
return "Comment" -- Gray for not loaded
end

local status = vim.g.mcphub_status or "stopped"
if status == "ready" or status == "restarted" then
return { fg = "#50fa7b" } -- Green for connected
return "DiagnosticOk" -- Green for connected
elseif status == "starting" or status == "restarting" then
return { fg = "#ffb86c" } -- Orange for connecting
return "DiagnosticWarn" -- Orange/yellow for connecting
else
return { fg = "#ff5555" } -- Red for error/stopped
return "DiagnosticError" -- Red for error/stopped
end
end,
}
Expand Down