From 81663c8f3c5e23b4a6bd3942b3f0f0193241610a Mon Sep 17 00:00:00 2001 From: jdhao Date: Tue, 4 Oct 2022 13:13:16 +0800 Subject: [PATCH] update markdown-preview.nvim install method --- lua/plugins.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lua/plugins.lua b/lua/plugins.lua index ce56e206..d60856c3 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -262,9 +262,7 @@ packer.startup { if vim.g.is_win or vim.g.is_mac then use { "iamcco/markdown-preview.nvim", - run = function() - fn["mkdp#util#install"]() - end, + run = "cd app && npm install", ft = { "markdown" }, } end