nvim-config/lua/custom/plugins/markdown.lua

11 lines
286 B
Lua
Raw Normal View History

2024-03-30 15:23:36 +00:00
-- Markdown preview plugin
return {
'iamcco/markdown-preview.nvim',
cmd = { 'MarkdownPreviewToggle', 'MarkdownPreview', 'MarkdownPreviewStop' },
build = 'cd app; npm install',
init = function()
vim.g.mkdp_filetypes = { 'markdown' }
end,
ft = { 'markdown' },
}