Skip to content

Commit 59bf0f2

Browse files
committed
tiny adjustments
1 parent 6a3cdad commit 59bf0f2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ require("eca").setup({
2929
auto_focus_sidebar = true,
3030

3131
-- Start server automatically
32-
auto_start_server = true,
32+
auto_start_server = false,
3333

3434
-- Download server automatically if not found
3535
auto_download = true,

lua/eca/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function H.keymaps()
3232
require("eca.api").focus()
3333
end, { noremap = true })
3434

35-
if Config.behavior.auto_set_keymaps then
35+
if Config.behavior and Config.behavior.auto_set_keymaps then
3636
Utils.safe_keymap_set({ "n", "v" }, Config.mappings.chat, function()
3737
require("eca.api").chat()
3838
end, { desc = "eca: open chat" })

lua/eca/sidebar.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1223,7 +1223,7 @@ function M:_update_welcome_content()
12231223
local cfg_msg = (cfg.message and cfg.message ~= "" and cfg.message) or nil
12241224
local welcome_message = cfg_msg or (self.mediator and self.mediator:welcome_message() or nil)
12251225

1226-
local lines = { "Waiting for welcome message from ECA server..." }
1226+
local lines = { "Waiting for server to start..." }
12271227

12281228
if welcome_message and welcome_message ~= "" then
12291229
lines = Utils.split_lines(welcome_message)

0 commit comments

Comments
 (0)