From 6121695abbae3e26b6edf13dce36c9b2c2b7e4ba Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sun, 10 Mar 2024 09:58:35 +0530 Subject: [PATCH] setup markdown preview --- after/plugin/markdowm.lua | 1 + lua/plugins.lua | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 after/plugin/markdowm.lua diff --git a/after/plugin/markdowm.lua b/after/plugin/markdowm.lua new file mode 100644 index 0000000..ef1c5ef --- /dev/null +++ b/after/plugin/markdowm.lua @@ -0,0 +1 @@ +vim.keymap.set("n", "pp", vim.cmd.MarkdownPreviewToggle) diff --git a/lua/plugins.lua b/lua/plugins.lua index c7f3be0..c128d5c 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -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 = {