mirror of
https://github.com/Baipyrus/nvim-config.git
synced 2024-12-27 05:41:45 +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' },
|
||
|
}
|