refactor(nvim): use builtin markdown-preview function to build

This commit is contained in:
Price Hiller 2023-10-17 16:25:31 -05:00
parent 5212f84c90
commit 2967a27f73
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8

View File

@ -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,
}
}