vscode.nvim icon indicating copy to clipboard operation
vscode.nvim copied to clipboard

Syntax highlighting for Markdown fails after fenced code blocks

Open lindhe opened this issue 2 years ago • 6 comments

Syntax highlighting gets broken when there's a fenced code block inside a list item or inside a quotation.

Without vscode theme

Screenshot 2023-08-21 084922 Screenshot 2023-08-21 084943

With vscode theme

Screenshot 2023-08-21 085032 Screenshot 2023-08-21 085051

lindhe avatar Aug 21 '23 06:08 lindhe

Might not be your fault. I realize that other themes has the same issue, so perhaps the issue is just not very visible (but still present) when not setting a custom colorscheme.

lindhe avatar Aug 21 '23 07:08 lindhe

@lindhe - Did you install markdown treesiter? If not, install it.

Mofiqul avatar Aug 22 '23 05:08 Mofiqul

No, I haven't. Thanks for the tip!

This one? https://github.com/nvim-treesitter/nvim-treesitter

lindhe avatar Aug 22 '23 06:08 lindhe

Just installing that plugin was not enough, unfortunately. :(

lindhe avatar Aug 22 '23 06:08 lindhe

@lindhe - Yeah. After installing that plugin do :TSInstall markdown

Mofiqul avatar Aug 22 '23 11:08 Mofiqul

Done that too. :(

lindhe avatar Aug 22 '23 12:08 lindhe