11 lines
386 B
Lua
11 lines
386 B
Lua
return {
|
|
"iamcco/markdown-preview.nvim",
|
|
cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
|
|
build = "cd app && npm install && git restore .",
|
|
-- or if you use yarn: (I have not checked this, I use npm)
|
|
-- build = "cd app && yarn install && git restore .",
|
|
init = function()
|
|
vim.g.mkdp_filetypes = { "markdown" }
|
|
end,
|
|
ft = { "markdown" },
|
|
}
|