diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-08-28 12:10:56 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-08-28 12:10:56 +0900 |
| commit | ea67603d85cc5fb7b8dd0b09b362e27adc83087b (patch) | |
| tree | 9fb4cdcebaf139a7bbce7ee0a6225c12f0311269 | |
| parent | ea2c9c40263f3a47048448ab817d8d7b0fee648a (diff) | |
modified plugins/markdown.lua
| -rw-r--r-- | mac/.config/TheSiahxyz/lua/TheSiahxyz/plugins/markdown.lua | 9 |
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 |
