tree-sitter-grammars / tree-sitter-markdown

Markdown grammar for tree-sitter
MIT License
411 stars 52 forks source link

List the extra hl groups #73

Closed OfekShochat closed 11 months ago

OfekShochat commented 1 year ago

I'm using the monokai colorscheme, and it doesn't support the hl groups you use. Can you list the (probably) needed extra hl groups so that other colorschemes would know which to add? All or the ones you think are nonstandard for other programming languages. I just don't know where to look really. Thanks!

MDeiml commented 1 year ago

Highlight groups for tree-sitter were recently renamed, so maybe they just weren't updated properly for this theme. You can see all highlight groups with :h treesitter-highlight-groups. They are standardized across all languages, so no extra work for markdown should be necessary.

If you are really just interested in the highlight groups that this parser is using, you can look which captures (the identifiers that start with @) are used here and here.

OfekShochat commented 1 year ago

ohh, this would make sense! I had issues all week with highlighting!

MDeiml commented 11 months ago

Closing this, as problem seems to be solved