nvim/lua/configs/render-markdown.lua

31 lines
852 B
Lua

return {
enabled = true,
anti_conceal = {
enabled = true,
-- Which elements to always show, ignoring anti conceal behavior. Values can either be
-- booleans to fix the behavior or string lists representing modes where anti conceal
-- behavior will be ignored. Valid values are:
-- head_icon, head_background, head_border, code_language, code_background, code_border,
-- dash, bullet, check_icon, check_scope, quote, table_border, callout, link, sign
ignore = {
code_background = true,
sign = true,
},
above = 0,
below = 0,
},
render_modes = true,
bullets = { "", "", "" },
quote = "",
code = {
width = 'block',
min_width = 45,
left_pad = 2,
language_pad = 2,
},
sign = {
enabled = true,
highlight = 'RenderMarkdownSign',
},
}