Mofiqul / vscode.nvim

Neovim/Vim color scheme inspired by Dark+ and Light+ theme in Visual Studio Code
MIT License
695 stars 111 forks source link

Syntax highlighting for Markdown fails after fenced code blocks #148

Open lindhe opened 1 year ago

lindhe commented 1 year ago

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 commented 1 year ago

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.

Mofiqul commented 1 year ago

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

lindhe commented 1 year ago

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

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

lindhe commented 1 year ago

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

Mofiqul commented 1 year ago

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

lindhe commented 1 year ago

Done that too. :(