Skip to content

Commit 34922e5

Browse files
committed
fix(context): load context on opening
1 parent 04be17f commit 34922e5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/opencode/ui/ui.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ function M.create_windows()
8383
local autocmds = require('opencode.ui.autocmds')
8484

8585
if not require('opencode.ui.ui').is_opencode_focused() then
86+
require('opencode.context').load()
8687
state.last_code_win_before_opencode = vim.api.nvim_get_current_win()
8788
state.current_code_buf = vim.api.nvim_get_current_buf()
8889
end

0 commit comments

Comments
 (0)