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

docs: better syntax highlighting #652

Merged
merged 13 commits into from
Oct 20, 2023
Merged

Conversation

lars-reimann
Copy link
Member

@lars-reimann lars-reimann commented Oct 20, 2023

Summary of Changes

Add rules for all applicable builtin tokens of Pygments to the lexer to improve syntax highlighting in the grammar. In particular, syntactic elements now get highlighted similarly to their Python equivalent, where possible.

@github-actions
Copy link

github-actions bot commented Oct 20, 2023

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ PYTHON black 1 0 0 0.49s
✅ PYTHON mypy 1 0 1.34s
✅ PYTHON ruff 1 0 0 0.08s
✅ REPOSITORY git_diff yes no 0.07s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

@codecov
Copy link

codecov bot commented Oct 20, 2023

Codecov Report

Merging #652 (b77e702) into main (b5615c0) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main      #652   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           57        57           
  Lines         7328      7328           
  Branches      1431      1431           
=========================================
  Hits          7328      7328           

@lars-reimann lars-reimann merged commit c59856c into main Oct 20, 2023
7 checks passed
@lars-reimann lars-reimann deleted the better-syntax-highlighting branch October 20, 2023 00:13
@lars-reimann
Copy link
Member Author

🎉 This PR is included in version 0.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lars-reimann lars-reimann added the released Included in a release label Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released Included in a release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants