Skip to content

Commit

Permalink
nvim: notes: fix markdown-preview broken install
Browse files Browse the repository at this point in the history
  • Loading branch information
v-bertin committed Sep 9, 2024
1 parent e495994 commit 3b49dda
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nvim/.config/nvim/lua/plugins/notes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ return {
"iamcco/markdown-preview.nvim",
cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
ft = { "markdown" },
build = function() vim.fn["mkdp#util#install"]() end,
build = function()
require("lazy").load { plugins = { "markdown-preview.nvim" } }
vim.fn["mkdp#util#install"]()
end,
},
}

0 comments on commit 3b49dda

Please sign in to comment.