this plugin was giving me grief and I barely use it

This commit is contained in:
Daylin Morgan 2024-11-18 11:02:01 -06:00
parent 03cb9443ee
commit 924582ab6b
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -1,23 +1,23 @@
return {
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,
},
-- {
-- "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,
-- },
{
"MeanderingProgrammer/render-markdown.nvim",
opts = {