add back one of the markdown extras

This commit is contained in:
Daylin Morgan 2024-01-29 10:34:05 -06:00
parent de389679fa
commit de346f7f45
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F

View file

@ -1,3 +1,22 @@
return { return {
require("util").setup_lang({treesitter = {"markdown", "markdown_inline"}}) require("util").setup_lang({treesitter = {"markdown", "markdown_inline"}}),
{
"iamcco/markdown-preview.nvim",
cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
build = function()
vim.fn["mkdp#util#install"]()
end,
keys = {
{
"<leader>cp",
ft = "markdown",
"<cmd>MarkdownPreviewToggle<cr>",
desc = "Markdown Preview",
},
},
config = function()
vim.cmd([[do FileType]])
end,
}
} }