Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix C++ function highlighting for keyword prefixes#4399

Open
puneetdixit200 wants to merge 1 commit into
highlightjs:mainfrom
puneetdixit200:fix/4394-cpp-keyword-prefix-functions
Open

Fix C++ function highlighting for keyword prefixes#4399
puneetdixit200 wants to merge 1 commit into
highlightjs:mainfrom
puneetdixit200:fix/4394-cpp-keyword-prefix-functions

Conversation

@puneetdixit200
Copy link
Copy Markdown

Fixes #4394

Changes

  • Treat only exact C++ reserved keyword identifiers as excluded from function dispatch highlighting.
  • Add C++ markup coverage for function names that start with keywords, including format, for_this, and whilexyz.

Checklist

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

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.

(cpp) Inconsistent highlighting of top-level identifiers that start with a keyword

1 participant