Open data-man opened 2 months ago
C++ std types should't be highlighted in C sources.
Agree - no doubt left over from when we forked c
from the cpp
grammar. How many of these would that remove if we cleaned this up?
can this be assigned to me ?
ive added a PR @joshgoebel please review
How many of these would that remove if we cleaned this up?
Would be nice to add all functions and types from https://en.cppreference.com/w/c/header. And support https://en.cppreference.com/w/c/23.
Describe the issue C++ std types are highlighted in C sources.
Which language seems to have the issue?
C
.Are you using
highlight
orhighlightAuto
? highlight.Expected behavior C++ std types should't be highlighted in C sources.
Additional context From
src/languages/c.js
:Why?