mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 03:14:55 +02:00
52 lines
1.3 KiB
Lua
52 lines
1.3 KiB
Lua
return {
|
|
'MeanderingProgrammer/render-markdown.nvim',
|
|
ft = { "markdown" },
|
|
dependencies = {
|
|
'nvim-tree/nvim-web-devicons',
|
|
{
|
|
"nvim-treesitter/nvim-treesitter",
|
|
opts = {
|
|
ensure_installed = { "markdown" }
|
|
}
|
|
},
|
|
{
|
|
"windwp/nvim-ts-autotag",
|
|
optional = true,
|
|
opts = {
|
|
filetypes = {
|
|
'markdown',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
opts = {
|
|
latex = { enabled = false },
|
|
completions = {
|
|
lsp = { enabled = true },
|
|
blink = { enabled = true }
|
|
},
|
|
heading = {
|
|
position = 'inline',
|
|
left_pad = 1,
|
|
right_pad = 1,
|
|
},
|
|
code = {
|
|
style = 'full',
|
|
language_pad = 1,
|
|
min_width = 45,
|
|
left_pad = 2,
|
|
right_pad = 2,
|
|
border = 'thick',
|
|
},
|
|
overrides = {
|
|
buftype = {
|
|
nofile = {
|
|
render_modes = true,
|
|
padding = { highlight = 'NormalFloat' },
|
|
sign = { enabled = false },
|
|
code = { style = "normal", border = 'none', left_pad = 0, right_pad = 0 },
|
|
},
|
|
},
|
|
},
|
|
}
|
|
}
|