Skip to content

Commit

Permalink
fix: Fixed incorrect parameter for footer rendering function
Browse files Browse the repository at this point in the history
  • Loading branch information
OXY2DEV committed Sep 23, 2024
1 parent eeb2bde commit 4e0c8a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/markview/renderer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2076,7 +2076,7 @@ renderer.render = function (buffer, parsed_content, config_table, conceal_start,
elseif type == "escaped" then
pcall(renderer.render_escaped, buffer, content, config_table.escaped);
elseif type == "footnote" then
pcall(renderer.render_footnotes, buffer, content, config_table.escaped);
pcall(renderer.render_footnotes, buffer, content, config_table.footnotes);
elseif type:match("^(latex_)") then
pcall(latex_renderer.render, type, buffer, content, config_table)
end
Expand Down

0 comments on commit 4e0c8a1

Please sign in to comment.