Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

char, float and short don't get highlighted as a data type #3724

Open
DerWandale opened this issue Sep 9, 2023 · 0 comments
Open

char, float and short don't get highlighted as a data type #3724

DerWandale opened this issue Sep 9, 2023 · 0 comments

Comments

@DerWandale
Copy link

Information

  • Language: Arduino
  • Plugins: Prismatic

Description
char, float and short are datatypes in c++ and also arduino, but the prism.js dont recoginze them as a datatype.

Code snippet
Test page

The code being highlighted incorrectly.
char character = 'A';
float test = 9.99;
short num = 1;
sirdesai22 added a commit to sirdesai22/prism that referenced this issue Sep 16, 2023
char, float and short don't get highlighted as a data type PrismJS#3724
.
Now able to highlight the folowing data types
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant