Skip to content

Commit

Permalink
exec at build (see 695 in the plugin's gh issue)
Browse files Browse the repository at this point in the history
  • Loading branch information
Opposite34 committed Sep 27, 2024
1 parent b62c50c commit 7dbe9a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/plugins/markdown.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ return {
ft = { "markdown" },
build = function(plugin)
if vim.fn.executable "npx" then
vim.cmd("!cd " .. plugin.dir .. " && cd app && npx --yes yarn install")
vim.cmd("!cd " .. plugin.dir .. " && cd app && npx --yes yarn install && npm install")
else
vim.cmd [[Lazy load markdown-preview.nvim]]
vim.fn["mkdp#util#install"]()
Expand Down

1 comment on commit 7dbe9a3

@Opposite34
Copy link
Owner Author

@Opposite34 Opposite34 commented on 7dbe9a3 Sep 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

commit should've been exec npm install at build but I guess gh didn't render that properly.

The issue mentioned is at iamcco/markdown-preview.nvim#695

Please sign in to comment.