From ea67603d85cc5fb7b8dd0b09b362e27adc83087b Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Thu, 28 Aug 2025 12:10:56 +0900 Subject: modified plugins/markdown.lua --- mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/markdown.lua | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'mac') 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 -- cgit v1.2.3