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

@ -146,9 +146,9 @@ require('lazy').setup({
section_separators = '', section_separators = '',
}, },
symbols = { symbols = {
error = "", error = "",
warn = "", warn = "",
info = "", info = "",
hint = "", hint = "",
} }
}, },
@ -226,4 +226,12 @@ require('lazy').setup({
'tpope/vim-speeddating', 'tpope/vim-speeddating',
-- vim-tabular -- vim-tabular
'godlygeek/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,
}
}, {}) }, {})