Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions lua/eca/commands.lua
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,8 @@ function M.setup()
desc = "Emergency stop for infinite loops or runaway responses",
})



vim.api.nvim_create_user_command("EcaFixTreesitter", function()
local Utils = require("eca.utils")

Expand Down
4 changes: 2 additions & 2 deletions lua/eca/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -253,14 +253,14 @@ function M.setup(opts)
M.server = Server:new({
on_started = function(connection)
M.status_bar:update("Running")
Logger.info("ECA server started and ready!")
Logger.debug("ECA server started and ready!")
end,
on_status_changed = function(status)
M.status_bar:update(status)
if status == "Failed" then
Logger.notify("ECA server failed to start. Check :messages for details.", vim.log.levels.ERROR)
elseif status == "Starting" then
Logger.info("Starting ECA server...")
Logger.debug("Starting ECA server...")
end
end,
})
Expand Down
Loading