refactor(nvim): use builtin markdown-preview function to build
This commit is contained in:
parent
5212f84c90
commit
2967a27f73
@ -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,
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user