2023-12-17 23:26:30 -06:00
|
|
|
return {
|
2024-06-13 13:22:15 -05:00
|
|
|
require("util").setup_lang({ treesitter = { "markdown", "markdown_inline" } }),
|
2024-01-29 10:34:05 -06:00
|
|
|
{
|
2024-06-13 13:22:15 -05:00
|
|
|
"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",
|
|
|
|
},
|
2024-01-29 10:34:05 -06:00
|
|
|
},
|
2024-06-13 13:22:15 -05:00
|
|
|
config = function()
|
|
|
|
vim.cmd([[do FileType]])
|
|
|
|
end,
|
2024-01-29 10:34:05 -06:00
|
|
|
},
|
2023-12-17 23:26:30 -06:00
|
|
|
}
|