mirror of
https://github.com/Dannecron/nvchad-starter.git
synced 2025-12-25 11:52:35 +03:00
add render-markdown plugin
This commit is contained in:
1
init.lua
1
init.lua
@@ -28,6 +28,7 @@ require("lazy").setup({
|
||||
-- load theme
|
||||
dofile(vim.g.base46_cache .. "defaults")
|
||||
dofile(vim.g.base46_cache .. "statusline")
|
||||
dofile(vim.g.base46_cache .. "render-markdown")
|
||||
|
||||
require "options"
|
||||
require "autocmds"
|
||||
|
||||
@@ -17,6 +17,7 @@ M.base46 = {
|
||||
hl_add = {
|
||||
NvimTreeOpenedFolderName = { fg = "green", bold = true },
|
||||
},
|
||||
integrations = { 'render-markdown' },
|
||||
}
|
||||
|
||||
return M
|
||||
|
||||
@@ -21,4 +21,14 @@ return {
|
||||
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' },
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user