mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2024-12-22 12:48:01 +00:00
[neovim] Customize render-markdown
This commit is contained in:
parent
e3e411b629
commit
9343a1e579
@ -295,3 +295,11 @@ keymap(
|
|||||||
"<cmd>lua require'ufo'.peekFoldedLinesUnderCursor()<cr>",
|
"<cmd>lua require'ufo'.peekFoldedLinesUnderCursor()<cr>",
|
||||||
vim.tbl_extend("force", opts, { desc = "Peek fold" })
|
vim.tbl_extend("force", opts, { desc = "Peek fold" })
|
||||||
)
|
)
|
||||||
|
|
||||||
|
-- Markdown
|
||||||
|
keymap(
|
||||||
|
"n",
|
||||||
|
"<leader>m",
|
||||||
|
":RenderMarkdown toggle<cr>",
|
||||||
|
vim.tbl_extend("force", opts, { desc = "Toggle markdown rendering" })
|
||||||
|
)
|
||||||
|
@ -249,6 +249,11 @@ require("lazy").setup({
|
|||||||
end,
|
end,
|
||||||
ft = { "markdown" },
|
ft = { "markdown" },
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"MeanderingProgrammer/markdown.nvim",
|
||||||
|
main = "render-markdown",
|
||||||
|
name = "render-markdown",
|
||||||
|
},
|
||||||
|
|
||||||
-- Copilot
|
-- Copilot
|
||||||
{
|
{
|
||||||
|
@ -18,6 +18,7 @@ require("plugins.noice")
|
|||||||
require("plugins.trouble")
|
require("plugins.trouble")
|
||||||
require("plugins.autosave")
|
require("plugins.autosave")
|
||||||
require("plugins.markdowntoc")
|
require("plugins.markdowntoc")
|
||||||
|
require("plugins.render-markdown")
|
||||||
require("plugins.diffview")
|
require("plugins.diffview")
|
||||||
require("plugins.align")
|
require("plugins.align")
|
||||||
require("plugins.ufo")
|
require("plugins.ufo")
|
||||||
|
5
.config/nvim/lua/plugins/render-markdown.lua
Normal file
5
.config/nvim/lua/plugins/render-markdown.lua
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
require("render-markdown").setup({
|
||||||
|
bullet = {
|
||||||
|
icons = { "·", "·", "·", "·" },
|
||||||
|
},
|
||||||
|
})
|
Loading…
Reference in New Issue
Block a user