add render-markdown plugin

This commit is contained in:
Savosin Denis
2025-11-21 18:29:01 +07:00
parent 400c4e0571
commit 43f3d5d437
3 changed files with 30 additions and 18 deletions

View File

@@ -28,6 +28,7 @@ require("lazy").setup({
-- load theme -- load theme
dofile(vim.g.base46_cache .. "defaults") dofile(vim.g.base46_cache .. "defaults")
dofile(vim.g.base46_cache .. "statusline") dofile(vim.g.base46_cache .. "statusline")
dofile(vim.g.base46_cache .. "render-markdown")
require "options" require "options"
require "autocmds" require "autocmds"

View File

@@ -17,6 +17,7 @@ M.base46 = {
hl_add = { hl_add = {
NvimTreeOpenedFolderName = { fg = "green", bold = true }, NvimTreeOpenedFolderName = { fg = "green", bold = true },
}, },
integrations = { 'render-markdown' },
} }
return M return M

View File

@@ -21,4 +21,14 @@ return {
kulala_keymaps_prefix = "", kulala_keymaps_prefix = "",
}, },
}, },
{
'MeanderingProgrammer/render-markdown.nvim',
dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-mini/mini.icons' }, -- if you use standalone mini plugins
ft = { "markdown", "vimwiki" },
---@module 'render-markdown'
---@type render.md.UserConfig
opts = {
render_modes = { 'n', 'c', 't' },
},
}
} }