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

fix: Align Markdown styles with tree sitter highlights #12696

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

nik-rev
Copy link
Contributor

@nik-rev nik-rev commented Jan 27, 2025

this PR makes Markdown highlights use the same scopes as what Tree Sitter uses:

  • Horizontal rule uses punctuation.special
  • Numbered lists use markup.list.numbered
  • Unnumbered lists use markup.list.unnumbered

Also, has cosmetic improvements:

  • Use for bullet points instead of -
  • Use ─── for rule instead of ---

Before

image

After

image

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

Successfully merging this pull request may close these issues.

2 participants