highlightjs / highlightjs/highlight.js

(cpp) Support __ keywords

Open
#2,173 24 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue help welcome language
Dominant language
JavaScript
Stars
25k
Forks
3.8k
Avg merge
11h 35m
Merged PRs (30d)
3

Description

Stems from PR:
https://github.com/highlightjs/highlight.js/pull/2020

See the related discussion there.

>> I'd prefer a separate mode, something like

>So someone has to repeat that within every scope in the syntax file, yes? So if KEYWORDS is used 10 times, then they'd need to add that rule to all 50 place also, correct?

It'd be really nice to find a solution to this without a separate mode. This needs a little more though IMHO to see if that's possible before just breaking down and doing that.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.