Skip to content

Commit 86ab539

Browse files
jensenojsCopilot
andauthored
Update lua/opencode/ui/renderer/flush.lua
Co-authored-by: Copilot <[email protected]>
1 parent ae50f8e commit 86ab539

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lua/opencode/ui/renderer/flush.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ local function warn_part_render_error_once(part_id, message_id, err)
2828
)
2929

3030
vim.schedule(function()
31-
vim.notify_once('[opencode.nvim] ' .. msg, vim.log.levels.WARN)
31+
local notify = vim.notify_once or vim.notify
32+
notify('[opencode.nvim] ' .. msg, vim.log.levels.WARN)
3233
end)
3334
end
3435

0 commit comments

Comments
 (0)