iamcco / markdown-preview.nvim

markdown preview plugin for (neo)vim
MIT License
6.82k stars 284 forks source link

markdown-preview removes nvim-treesitters markdown highlighter #653

Open FxmousKid opened 8 months ago

FxmousKid commented 8 months ago

Description When i add this plugin to my lazy.nvim via :

{
    "iamcco/markdown-preview.nvim",
    cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
    ft = { "markdown" },
    build = function() vim.fn["mkdp#util#install"]() end,
}

it removes the highlighting from markdown files brought by treesitter. to bring it back, i had to remove the above code block from my lazy.nvim and remove the markdown-preview.nvim directory by hand.