Skip to content

Commit 2f1eddf

Browse files
committed
fix: main rebase
1 parent 3b81fda commit 2f1eddf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/opencode/ui/autocmds.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ function M.setup_autocmds(windows)
2929
if args.file == '' then
3030
return
3131
end
32+
local state = require('opencode.state')
3233
state.last_code_win_before_opencode = vim.api.nvim_get_current_win()
3334
state.current_code_buf = vim.api.nvim_get_current_buf()
3435
end,

0 commit comments

Comments
 (0)