🐛 fix(plugins): update markdown-preview.nvim build and init commands

This commit is contained in:
sankalp committed 2025-06-10 13:43:58 +05:45
1 parent 710d958b57
commit d36d0084f1
1 file changed
+3 -2
+3 -2
View File
@@ -242,8 +242,9 @@ local plugins = {
},
{
'iamcco/markdown-preview.nvim',
build = function()
vim.fn['mkdp#util#install']()
build = 'cd app && yarn install',
init = function()
vim.g.mkdp_filetypes = { 'markdown' }
end,
ft = 'markdown',
cmd = { 'MarkdownPreviewToggle', 'MarkdownPreview' },