add markdown preview

This commit is contained in:
Omixxx 2023-02-28 16:42:55 +01:00
parent 46d493db65
commit ae9fc10678
4 changed files with 47 additions and 36 deletions

View file

@ -0,0 +1,11 @@
-- if does not work, go manually in the folder .local/share/nvim/site/pack/packer/start/markdown-preview.nvim/app and run yarn install
return {
"iamcco/markdown-preview.nvim",
run = "cd app && yarn install",
setup = function()
vim.g.mkdp_filetypes = {
"markdown" }
end,
ft = { "markdown" }
}