Skip to content

enh(c,cpp) highlight type modifiers as type#3316

Merged
joshgoebel merged 4 commits intohighlightjs:mainfrom
joshgoebel:cpp_type_modifiers
Aug 30, 2021
Merged

enh(c,cpp) highlight type modifiers as type#3316
joshgoebel merged 4 commits intohighlightjs:mainfrom
joshgoebel:cpp_type_modifiers

Conversation

@joshgoebel
Copy link
Copy Markdown
Member

@joshgoebel joshgoebel commented Aug 28, 2021

Resolves #3313

Changes

Adds the following to be highlighted as types:

  • static
  • const
  • unsigned
  • signed

Checklist

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

Copy link
Copy Markdown
Member

@allejo allejo left a comment

Choose a reason for hiding this comment

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

I mean, I guess technically you'd usually see these as modifiers to types. I have no objections to organizing them like this for that reason.

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