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

enh(cpp) simpler struct matching #3078

Merged
merged 16 commits into from Apr 13, 2021

Conversation

joshgoebel
Copy link
Member

@joshgoebel joshgoebel commented Mar 26, 2021

Resolves #2736. Resolves #2520. Resolves #3112.

Changes

Seems to do about as well as GitHub now.

Screen Shot 2021-03-26 at 12 39 58 PM

Checklist

  • Added markup tests, or they don't apply here because...
  • docs for beforeMatch
  • Updated the changelog at CHANGES.md

@joshgoebel
Copy link
Member Author

joshgoebel commented Mar 26, 2021

Right now I'm using .title-class... but I wonder if perhaps we shouldn't perhaps be a bit clearer (to add some separation between our existing class names that sometimes already use both - and _.

  • .title--class
  • .title__class

@joshgoebel joshgoebel force-pushed the cpp_struct_class_etc branch 2 times, most recently from f239ffe to 8cf00fe Compare March 27, 2021 23:21
@joshgoebel joshgoebel added this to the 11.0 alpha 1 milestone Mar 28, 2021
@joshgoebel joshgoebel force-pushed the cpp_struct_class_etc branch 2 times, most recently from 79025b1 to 80d5b9b Compare April 4, 2021 04:37
@joshgoebel
Copy link
Member Author

This is currently rebased on the multi-class stuff (so I could finish it), but in review that can be ignored.

Copy link
Member Author

@joshgoebel joshgoebel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Self-approving. @allejo If you have time to look at this later and see anything terrible please let me know.

@joshgoebel joshgoebel force-pushed the cpp_struct_class_etc branch 2 times, most recently from 1729d4f to 61777e0 Compare April 13, 2021 00:03
.eslintrc.js Outdated Show resolved Hide resolved
Copy link
Contributor

@NullVoxPopuli NullVoxPopuli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is exciting! It'll make my own grammar cleaner in a few places :D

@joshgoebel joshgoebel merged commit e594e5a into highlightjs:main Apr 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants