Describe the issue
Identifiers at the top level that start with certain keywords (such as for, while, if, etc.) are not highlighted, while others get the hljs-built_in class. It's not clear to me which one is right but they should be treated the same.
Which language seems to have the issue?
cpp
Are you using highlight or highlightAuto?
highlight
Sample Code to Reproduce
https://jsfiddle.net/2asbwfpq/
Expected behavior
testing();
format();
for_this();
std::forceSomething();
whilexyz();
if (ifsyz()) {}
returnxyz();
thisxyz();
putforce();
meanwhile();
mean_while();
Describe the issue
Identifiers at the top level that start with certain keywords (such as
for,while,if, etc.) are not highlighted, while others get thehljs-built_inclass. It's not clear to me which one is right but they should be treated the same.Which language seems to have the issue?
cppAre you using
highlightorhighlightAuto?highlightSample Code to Reproduce
https://jsfiddle.net/2asbwfpq/
Expected behavior