Skip to content

Commit 48fb05e

Browse files
committed
fix(renderer): Markview error
Forgot the > 0 in the exists check
1 parent 73c472d commit 48fb05e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/opencode/ui/renderer.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ local trigger_on_data_rendered = require('opencode.util').debounce(function()
2222
pcall(config.ui.on_data_rendered, state.windows.output_buf, state.windows.output_win)
2323
elseif vim.fn.exists(':RenderMarkdown') > 0 then
2424
vim.cmd(':RenderMarkdown')
25-
elseif vim.fn.exists(':Markview') then
25+
elseif vim.fn.exists(':Markview') > 0 then
2626
vim.cmd(':Markview render ' .. state.windows.output_buf)
2727
end
2828
end, 250)

0 commit comments

Comments
 (0)