From e73701590f0a5ed0034deba87a4712378c13152d Mon Sep 17 00:00:00 2001 From: Warwick Date: Tue, 27 Aug 2024 15:27:08 +0100 Subject: [PATCH] Added markdown preview --- lua/core/plugins.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lua/core/plugins.lua b/lua/core/plugins.lua index c3dd6a4..0cbcea0 100644 --- a/lua/core/plugins.lua +++ b/lua/core/plugins.lua @@ -88,6 +88,13 @@ local plugins = { "nvim-lua/plenary.nvim", }, }, + -- install without yarn or npm + { + "iamcco/markdown-preview.nvim", + cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" }, + ft = { "markdown" }, + build = function() vim.fn["mkdp#util#install"]() end, + }, -- Lightmode switcher 'eliseshaffer/darklight.nvim', -- Mini tools