diff --git a/dots/.config/nvim/lua/plugins/configs/markdown.lua b/dots/.config/nvim/lua/plugins/configs/markdown.lua index 564d20c3..9f79c736 100644 --- a/dots/.config/nvim/lua/plugins/configs/markdown.lua +++ b/dots/.config/nvim/lua/plugins/configs/markdown.lua @@ -1,7 +1,8 @@ return { { "iamcco/markdown-preview.nvim", - build = "cd app && npm install", + cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" }, ft = { "markdown" }, - }, + build = function() vim.fn["mkdp#util#install"]() end, + } }