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

Merged
merged 3 commits into from
Feb 10, 2025

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

@the-mikedavis the-mikedavis merged commit 199dc05 into helix-editor:master Feb 10, 2025
6 checks passed
@nik-rev nik-rev deleted the correct-markdown-styles branch February 11, 2025 00:29
Smithx10 pushed a commit to Smithx10/helix that referenced this pull request Mar 19, 2025
…r#12696)

Co-authored-by: Nikita Revenco <154856872+NikitaRevenco@users.noreply.github.com>
arexon pushed a commit to arexon/helix that referenced this pull request Mar 24, 2025
…r#12696)

Co-authored-by: Nikita Revenco <154856872+NikitaRevenco@users.noreply.github.com>
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.

3 participants