mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2024-12-22 11:38:00 +00:00
[neovim] Fix markdown preview
This commit is contained in:
parent
d3ee381b08
commit
8d4f9cf213
@ -240,7 +240,9 @@ require("lazy").setup({
|
||||
{ "mzlogin/vim-markdown-toc" },
|
||||
{
|
||||
"iamcco/markdown-preview.nvim",
|
||||
build = "cd app && npm install",
|
||||
build = function()
|
||||
vim.fn["mkdp#util#install"]()
|
||||
end,
|
||||
init = function()
|
||||
vim.g.mkdp_filetypes = { "markdown" }
|
||||
end,
|
||||
|
Loading…
Reference in New Issue
Block a user