md preview: fix the node package installation.

- Fixes the markdown preview node package installation.
- Removes the theme configuration.

Co-Authored-by: iGor milhit <igor.milhit@unige.ch>
iGor milhit 2023-06-16 15:43:27 +02:00
parent 1f9d1c7657
commit 049a6e7b14
1 changed files with 1 additions and 4 deletions

View File

@ -1,9 +1,6 @@
-- makdown-preview.nvim -- makdown-preview.nvim
-- installed with code found at https://github.com/iamcco/markdown-preview.nvim/issues/558#issuecomment-1514701537 -- 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 { return {
{ {
"iamcco/markdown-preview.nvim", "iamcco/markdown-preview.nvim",
@ -12,6 +9,6 @@ return {
'markdown' 'markdown'
}, },
lazy = true, lazy = true,
build = "cd app && yarn install", build = "cd app && npm install && git reset --hard",
}, },
} }