mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-11-13 20:43:49 +00:00
11 lines
286 B
Lua
11 lines
286 B
Lua
-- 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' },
|
|
}
|