From 8fa8b6c804e7986202632b9856d11680faea97ea Mon Sep 17 00:00:00 2001 From: Oliver Hartmann Date: Sun, 7 Dec 2025 21:38:30 +0100 Subject: [PATCH] replaced md preview with live preview --- lua/plugins/live-preview.lua | 6 ++++++ lua/plugins/markdown-preview.lua | 17 ----------------- 2 files changed, 6 insertions(+), 17 deletions(-) create mode 100644 lua/plugins/live-preview.lua delete mode 100644 lua/plugins/markdown-preview.lua diff --git a/lua/plugins/live-preview.lua b/lua/plugins/live-preview.lua new file mode 100644 index 0000000..43619e0 --- /dev/null +++ b/lua/plugins/live-preview.lua @@ -0,0 +1,6 @@ +return { + 'brianhuster/live-preview.nvim', + dependencies = { + 'folke/snacks.nvim', + }, +} diff --git a/lua/plugins/markdown-preview.lua b/lua/plugins/markdown-preview.lua deleted file mode 100644 index 5ef3da6..0000000 --- a/lua/plugins/markdown-preview.lua +++ /dev/null @@ -1,17 +0,0 @@ -return { - 'iamcco/markdown-preview.nvim', - cmd = { - 'MarkdownPreviewToggle', - 'MarkdownPreview', - 'MarkdownPreviewStop', - }, - branch = 'master', - ft = { 'markdown' }, - build = function() vim.fn['mkdp#util#install']() end, - init = function() - vim.g.mkdp_auto_close = 0 - vim.g.mkdp_auto_start = 0 - vim.g.mkdp_combine_preview = 1 - vim.g.mkdp_combine_preview_auto_refresh = 1 - end, -}