Skip to content

Commit

Permalink
fix: markdown plugin can't install
Browse files Browse the repository at this point in the history
- about issue iamcco/markdown-preview.nvim#690
to resolve this install problem.
  • Loading branch information
command-z-z committed Dec 14, 2024
1 parent 4a5e857 commit f794510
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lua/plugins.lua
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ return require("lazy").setup(
--markdown preview
{
"iamcco/markdown-preview.nvim",
build = function() vim.fn["mkdp#util#install"]() end,
cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
ft = { "markdown" },
build = ":call mkdp#util#install()",
},
--lsp
{
Expand Down

0 comments on commit f794510

Please sign in to comment.