Skip to content

Commit

Permalink
feat(previewer): re-enable markview.nvim
Browse files Browse the repository at this point in the history
  • Loading branch information
ibhagwan committed Dec 6, 2024
1 parent 14e8ac0 commit a569876
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions lua/fzf-lua/previewer/builtin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -748,12 +748,9 @@ function Previewer.base:update_render_markdown()
end
if package.loaded["render-markdown"] then
require("render-markdown.core.ui").update(bufnr, winid, "FzfLua", true)
-- Holding off markview support until issues are ironed out
-- https://github.com/OXY2DEV/markview.nvim/issues/216
-- elseif package.loaded["markview"] then
-- local mv = require("markview").commands;
-- mv.clear(bufnr)
-- 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
end
end

Expand Down

0 comments on commit a569876

Please sign in to comment.