nvim-config/.config/nvim/lua/plugins/mdpreview.lua

10 lines
268 B
Lua
Raw Normal View History

2024-10-21 08:08:26 +00: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' }
}