We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b81fda commit 2f1eddfCopy full SHA for 2f1eddf
lua/opencode/ui/autocmds.lua
@@ -29,6 +29,7 @@ function M.setup_autocmds(windows)
29
if args.file == '' then
30
return
31
end
32
+ local state = require('opencode.state')
33
state.last_code_win_before_opencode = vim.api.nvim_get_current_win()
34
state.current_code_buf = vim.api.nvim_get_current_buf()
35
end,
0 commit comments