We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
markview.nvim
1 parent 14e8ac0 commit a569876Copy full SHA for a569876
1 file changed
lua/fzf-lua/previewer/builtin.lua
@@ -748,12 +748,9 @@ function Previewer.base:update_render_markdown()
748
end
749
if package.loaded["render-markdown"] then
750
require("render-markdown.core.ui").update(bufnr, winid, "FzfLua", true)
751
- -- Holding off markview support until issues are ironed out
752
- -- https://github.com/OXY2DEV/markview.nvim/issues/216
753
- -- elseif package.loaded["markview"] then
754
- -- local mv = require("markview").commands;
755
- -- mv.clear(bufnr)
756
- -- mv.redraw(bufnr)
+ elseif package.loaded["markview"] then
+ local cmds = package.loaded["markview"].commands
+ if cmds and cmds.redraw then cmds.attach(bufnr, true) end
757
758
759
0 commit comments