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 { return {
require("util").setup_lang({ treesitter = { "markdown", "markdown_inline" } }), require("util").setup_lang({ treesitter = { "markdown", "markdown_inline" } }),
{ -- {
"iamcco/markdown-preview.nvim", -- "iamcco/markdown-preview.nvim",
cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" }, -- cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
build = function() -- build = function()
vim.fn["mkdp#util#install"]() -- vim.fn["mkdp#util#install"]()
end, -- end,
keys = { -- keys = {
{ -- {
"<leader>cp", -- "<leader>cp",
ft = "markdown", -- ft = "markdown",
"<cmd>MarkdownPreviewToggle<cr>", -- "<cmd>MarkdownPreviewToggle<cr>",
desc = "Markdown Preview", -- desc = "Markdown Preview",
}, -- },
}, -- },
config = function() -- config = function()
vim.cmd([[do FileType]]) -- vim.cmd([[do FileType]])
end, -- end,
}, -- },
{ {
"MeanderingProgrammer/render-markdown.nvim", "MeanderingProgrammer/render-markdown.nvim",
opts = { opts = {