Open Zeioth opened 1 year ago
I use Node v20.2.0 in an Arch machine, and I had the same problem. This is the snippet I used
{
"iamcco/markdown-preview.nvim",
build = "pnpm up && cd app && pnpm install",
init = function()
vim.g.mkdp_filetypes = { "markdown" }
end,
ft = { "markdown" },
},
This will now work. The problem is, since this repo has not been updated for quite some time, and now you have to update the library versions before you use this plugin. I use pnpm, something similar should apply for npm as well.
The snippet below worked for me, using lazy.nvim
, after reinstalling markdown-preview
(by highlighting it out, pressing clean inside :Lazy
menu and then reinstalling it):
{
"iamcco/markdown-preview.nvim",
init = function()
vim.g.mkdp_filetypes = { "markdown" }
end,
ft = { "markdown" },
cmd = {
"MarkdownPreview", "MarkdownPreviewStop", "MarkdownPreviewToggle"
},
event = "BufRead",
build = function()
vim.fn["mkdp#util#install"]()
end,
},
I have the same issue on an arch linux using `lazy.nvim` it didn't work for me
I use Node v20.2.0 in an Arch machine, and I had the same problem. This is the snippet I used
{ "iamcco/markdown-preview.nvim", build = "pnpm up && cd app && pnpm install", init = function() vim.g.mkdp_filetypes = { "markdown" } end, ft = { "markdown" }, },
This will now work. The problem is, since this repo has not been updated for quite some time, and now you have to update the library versions before you use this plugin. I use pnpm, something similar should apply for npm as well.
Describe the bug Fails to run all commands with an error.
To Reproduce Steps to reproduce the behavior:
Desktop (please complete the following information):
Log: