28 lines
675 B
Lua
28 lines
675 B
Lua
vim.pack.add({ "https://github.com/MeanderingProgrammer/render-markdown.nvim" })
|
|
|
|
require("render-markdown").setup({
|
|
file_types = { 'markdown', 'quarto' },
|
|
completions = { lsp = { enabled = true } },
|
|
|
|
checkbox = {
|
|
enabled = true,
|
|
render_modes = false,
|
|
bullet = false,
|
|
left_pad = 0,
|
|
right_pad = 1,
|
|
unchecked = {
|
|
icon = " ",
|
|
highlight = "RenderMarkdownUnchecked",
|
|
scope_highlight = nil,
|
|
},
|
|
checked = {
|
|
icon = " ",
|
|
highlight = "RenderMarkdownChecked",
|
|
scope_highlight = nil,
|
|
},
|
|
custom = {
|
|
todo = { raw = "[-]", rendered = " ", highlight = "RenderMarkdownTodo", scope_highlight = nil },
|
|
},
|
|
scope_priority = nil,
|
|
},
|
|
})
|