Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

markdown-preview removes nvim-treesitters markdown highlighter #653

Open
FxmousKid opened this issue Mar 18, 2024 · 0 comments
Open

markdown-preview removes nvim-treesitters markdown highlighter #653

FxmousKid opened this issue Mar 18, 2024 · 0 comments

Comments

@FxmousKid
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant