summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/markdown.lua9
1 files changed, 2 insertions, 7 deletions
diff --git a/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/markdown.lua b/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/markdown.lua
index 0987818..3b5c618 100644
--- a/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/markdown.lua
+++ b/mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/markdown.lua
@@ -223,13 +223,8 @@ return {
"iamcco/markdown-preview.nvim",
cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
ft = { "markdown" },
- build = function(plugin)
- if vim.fn.executable("npx") then
- vim.cmd("!cd " .. plugin.dir .. " && cd app && npx --yes yarn install")
- else
- vim.cmd([[Lazy load markdown-preview.nvim]])
- vim.fn["mkdp#util#install"]()
- end
+ build = function()
+ vim.fn["mkdp#util#install"]()
end,
init = function()
if vim.fn.executable("npx") then