nvim-config/lua/plugins/markdown.lua

10 lines
244 B
Lua
Raw Normal View History

2024-09-21 09:25:17 +02:00
return {
"iamcco/markdown-preview.nvim",
cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
build = "cd app && yarn install",
init = function()
vim.g.mkdp_filetypes = { "markdown" }
end,
ft = { "markdown" },
}