27 lines
786 B
Lua
27 lines
786 B
Lua
return {
|
|
'MeanderingProgrammer/render-markdown.nvim',
|
|
-- dependencies = { 'nvim-treesitter/nvim-treesitter', 'echasnovski/mini.nvim' }, -- if you use the mini.nvim suite
|
|
-- dependencies = { 'nvim-treesitter/nvim-treesitter', 'echasnovski/mini.icons' }, -- if you use standalone mini plugins
|
|
-- dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-tree/nvim-web-devicons' }, -- if you prefer nvim-web-devicons
|
|
---@module 'render-markdown'
|
|
---@type render.md.UserConfig
|
|
opts = {
|
|
completions = { lsp = { enabled = true } },
|
|
render_modes = true,
|
|
heading = {
|
|
width = 'block',
|
|
min_width = 80,
|
|
},
|
|
code = {
|
|
disable_background = { 'diff' },
|
|
},
|
|
indent = {
|
|
enabled = true,
|
|
skip_heading = true,
|
|
},
|
|
sign = {
|
|
enabled = true,
|
|
},
|
|
},
|
|
}
|