Skip to content

Commit fe3d114

Browse files
committed
chore: fix typo
1 parent d60778e commit fe3d114

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lua/opencode/quick_chat.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ local running_sessions = {}
2424
---@type table<string, boolean>
2525
local active_global_keymaps = {}
2626

27-
--- Creates an quicklchat session title
27+
--- Creates an quickchat session title
2828
---@param buf integer Buffer handle
2929
---@return string title The session title
3030
local function create_session_title(buf)
@@ -68,7 +68,7 @@ local function cancel_all_quick_chat_sessions()
6868

6969
if config.values.debug.quick_chat and not config.values.debug.quick_chat.keep_session then
7070
state.api_client:delete_session(session_id):catch(function(err)
71-
vim.notify('Error deleting quicklchat session: ' .. vim.inspect(err), vim.log.levels.WARN)
71+
vim.notify('Error deleting quickchat session: ' .. vim.inspect(err), vim.log.levels.WARN)
7272
end)
7373
end
7474

@@ -110,7 +110,7 @@ local function cleanup_session(session_info, session_id, message)
110110

111111
if config.debug.quick_chat and not config.debug.quick_chat.keep_session then
112112
state.api_client:delete_session(session_id):catch(function(err)
113-
vim.notify('Error deleting quicklchat session: ' .. vim.inspect(err), vim.log.levels.WARN)
113+
vim.notify('Error deleting quickchat session: ' .. vim.inspect(err), vim.log.levels.WARN)
114114
end)
115115
end
116116

@@ -140,7 +140,7 @@ local function extract_response_text(message)
140140
return vim.trim(response_text)
141141
end
142142

143-
--- Processes response from quicklchat session
143+
--- Processes response from quickchat session
144144
---@param session_info table Session tracking info
145145
---@param messages OpencodeMessage[] Session messages
146146
---@return boolean success Whether the response was processed successfully
@@ -406,7 +406,7 @@ M.quick_chat = Promise.async(function(message, options, range)
406406
local quick_chat_session = core.create_new_session(title):await()
407407
if not quick_chat_session then
408408
spinner:stop()
409-
return Promise.new():reject('Failed to create quicklchat session')
409+
return Promise.new():reject('Failed to create quickchat session')
410410
end
411411

412412
if config.debug.quick_chat and config.debug.quick_chat.set_active_session then

0 commit comments

Comments
 (0)