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 f27c9d8 commit bb0f1feCopy full SHA for bb0f1fe
lua/opencode/ui/renderer.lua
@@ -19,6 +19,10 @@ local trigger_on_data_rendered = require('opencode.util').debounce(function()
19
return
20
end
21
22
+ if not state.windows then
23
+ return
24
+ end
25
+
26
if cb_type == 'function' then
27
pcall(config.ui.on_data_rendered, state.windows.output_buf, state.windows.output_win)
28
elseif vim.fn.exists(':RenderMarkdown') > 0 then
0 commit comments