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
1 changed files with 10 additions and 2 deletions

View File

@ -146,9 +146,9 @@ require('lazy').setup({
section_separators = '',
},
symbols = {
error = "",
error = "",
warn = "",
info = "",
info = "",
hint = "",
}
},
@ -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,
}
}, {})