-
-
Notifications
You must be signed in to change notification settings - Fork 108
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
No syntax highlighting for markdown files #315
Comments
I have the same issue, i think it's because of a breaking change which is commented on here in Treesitter, to which the colorthemes have to adapt. |
Seems treesitter upstream bug report was closed w/o fix, it is an intentional breaking change, the theme needs to adopt it. |
This is a dependency or version compatibility issue. Until this colorscheme gets updated with the new capture names, you can try pinning your I don't believe nvim bundles/vendors the |
All highlights changes: - `@text.*` -> `@markup.*` (`strong`, `italic`, `link`, `strikethrough`; with exceptions; see below) - `@text.title` -> `@markup.heading` - `@text.literal` -> `@markup.raw` - `@text.reference` -> `@markup.link` - `@text.uri` -> `@markup.link.url` (in markup links) - `@string.special` -> `@markup.link.label` (non-url links) - `@punctuation.special` -> `@markup.list` (markdown lists only; move subitems from `@text.todo`) Related to #315
The whole text in a markdown file is white/black.
It should have syntax highlighting, with different colors for each heading levels, code snippet, lists, ...
Here is an example with tokyonight-night theme:
The text was updated successfully, but these errors were encountered: