Skip to content

Commit 60c6afa

Browse files
committed
Decreasing notifications on Eca Start
1 parent eb5bdc4 commit 60c6afa

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

lua/eca/init.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,14 +253,14 @@ function M.setup(opts)
253253
M.server = Server:new({
254254
on_started = function(connection)
255255
M.status_bar:update("Running")
256-
Logger.info("ECA server started and ready!")
256+
Logger.debug("ECA server started and ready!")
257257
end,
258258
on_status_changed = function(status)
259259
M.status_bar:update(status)
260260
if status == "Failed" then
261261
Logger.notify("ECA server failed to start. Check :messages for details.", vim.log.levels.ERROR)
262262
elseif status == "Starting" then
263-
Logger.info("Starting ECA server...")
263+
Logger.debug("Starting ECA server...")
264264
end
265265
end,
266266
})

lua/eca/server.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ function M:_initialize_server()
227227
end
228228

229229
self:_change_status(ServerStatus.Running)
230-
Logger.info("ECA server started successfully")
230+
Logger.debug("ECA server started successfully")
231231

232232
-- Send initialized notification
233233
self._rpc:send_notification("initialized", {})

lua/eca/status_bar.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ function M:_refresh()
4141
status_text = status_text .. ""
4242
end
4343

44-
-- Show in command line temporarily
45-
vim.notify(status_text, vim.log.levels.INFO)
44+
-- Only show status in status bar, not as notification
45+
-- vim.notify(status_text, vim.log.levels.INFO) -- Commented out to reduce notification noise
4646

4747
-- Also update the global status for other components to use
4848
vim.g.eca_server_status = self._status

0 commit comments

Comments
 (0)