Skip to content

Commit 7ee2e2f

Browse files
committed
chore: remove .values for accessing config
1 parent fd09bc8 commit 7ee2e2f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lua/opencode/quick_chat.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ local function cancel_all_quick_chat_sessions()
6666
session_info.spinner:stop()
6767
end
6868

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

lua/opencode/quick_chat/spinner.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function CursorSpinner:create_float()
5656
end
5757

5858
function CursorSpinner:get_cancel_key()
59-
local quick_chat_keymap = config.values.keymap.quick_chat or {}
59+
local quick_chat_keymap = config.keymap.quick_chat or {}
6060
return quick_chat_keymap.cancel and quick_chat_keymap.cancel[1] or ''
6161
end
6262

0 commit comments

Comments
 (0)