setup markdown preview

This commit is contained in:
Adithya 2024-03-10 09:58:35 +05:30
parent c9832c51f1
commit 6121695abb
Signed by: adtya
GPG key ID: 48FC9915FFD326D0
2 changed files with 10 additions and 0 deletions

View file

@ -0,0 +1 @@
vim.keymap.set("n", "<leader>pp", vim.cmd.MarkdownPreviewToggle)

View file

@ -22,6 +22,15 @@ return require("packer").startup(function(use)
},
})
use({
"iamcco/markdown-preview.nvim",
run = "cd app && npm install",
setup = function()
vim.g.mkdp_filetypes = { "markdown" }
end,
ft = { "markdown" },
})
use({
"kdheepak/lazygit.nvim",
requires = {