plugins: Add Markdown preview

- https://github.com/iamcco/markdown-preview.nvim
- + `:format` in the lazy file
This commit is contained in:
Fabrice Mouhartem 2024-02-24 21:36:58 +01:00
parent 16626d35de
commit 4f4acc74e8

View File

@ -226,4 +226,12 @@ require('lazy').setup({
'tpope/vim-speeddating',
-- vim-tabular
'godlygeek/tabular',
-- MarkdownPreview without yarn or npm
{
"iamcco/markdown-preview.nvim",
cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
ft = { "markdown", "pandoc" },
build = function() vim.fn["mkdp#util#install"]() end,
}
}, {})