From 049a6e7b1464c7dff6ff475fea2e9e47125d5979 Mon Sep 17 00:00:00 2001 From: iGor milhit Date: Fri, 16 Jun 2023 15:43:27 +0200 Subject: [PATCH] md preview: fix the node package installation. - Fixes the markdown preview node package installation. - Removes the theme configuration. Co-Authored-by: iGor milhit --- lua/custom/plugins/markdownpreview.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lua/custom/plugins/markdownpreview.lua b/lua/custom/plugins/markdownpreview.lua index c86b5d1..6c61e40 100644 --- a/lua/custom/plugins/markdownpreview.lua +++ b/lua/custom/plugins/markdownpreview.lua @@ -1,9 +1,6 @@ -- makdown-preview.nvim -- installed with code found at https://github.com/iamcco/markdown-preview.nvim/issues/558#issuecomment-1514701537 --- Force the light theme, no matter the system option is. -vim.cmd([[ let g:mkdp_theme = 'light' ]]) - return { { "iamcco/markdown-preview.nvim", @@ -12,6 +9,6 @@ return { 'markdown' }, lazy = true, - build = "cd app && yarn install", + build = "cd app && npm install && git reset --hard", }, }