diff options
| author | jdhao <jdhao@hotmail.com> | 2022-10-04 13:13:16 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2022-10-04 13:15:26 +0800 |
| commit | 81663c8f3c5e23b4a6bd3942b3f0f0193241610a (patch) | |
| tree | a82cf6f1d7afa769753fc17235d3ecf81c6735d2 | |
| parent | 2c7e4aa87aefcc32682d017eae9e3c1395ae8f2b (diff) | |
update markdown-preview.nvim install method
| -rw-r--r-- | lua/plugins.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lua/plugins.lua b/lua/plugins.lua index ce56e20..d60856c 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 |
