From 9bf4a5237f8160dd2560a75b257b68c5401fb63f Mon Sep 17 00:00:00 2001 From: IbrahimSabriOrene Date: Sun, 26 Nov 2023 06:07:40 +0300 Subject: [PATCH] Markdown Preview Setup --- init.lua | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 57191a84..3f8b3398 100644 --- a/init.lua +++ b/init.lua @@ -71,8 +71,13 @@ require('lazy').setup({ 'tpope/vim-rhubarb', -- specific plugins that i installed {'akinsho/toggleterm.nvim', version = "*", config = true}, - - -- Detect tabstop and shiftwidth automatically + { + "iamcco/markdown-preview.nvim", + cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" }, + ft = { "markdown" }, + build = function() vim.fn["mkdp#util#install"]() end, +}, + -- Detect tabstop and shiftwidth automatically 'tpope/vim-sleuth', -- NOTE: This is where your plugins related to LSP can be installed.