Graviton-Code-Editor / Graviton-App

🚀 A modern-looking Code Editor
https://graviton.netlify.app
MIT License
1.17k stars 126 forks source link

[Issue] How to change Syntax highlighting #333

Open gian9959 opened 1 year ago

gian9959 commented 1 year ago

I really like this minimalist editor but I can't seem to find a way to change the Syntax highlighting, regardless of the type of file it always highlights the same things (I think js, but I'm not famililar with that language).

So far I only tried it with Java and C for a couple of projects I'm working on and it does not highlight a lot of the stuff that gets highlighted normally with other editors. Is there a way to fix it or are these two languages not supported for syntax highlighting.

I would suggest an option to change highlighting not dependent on the file extension.

marc2332 commented 1 year ago

Can you show me an example of how it looks with some language you have tried that doesn't look good?

gian9959 commented 1 year ago

Screenshot 2022-09-08 150658 Screenshot 2022-09-08 150719 Screenshot 2022-09-08 151140 It's mostly stuff like:

Screenshot 2022-09-08 151828

As a Bonus: it would be nice to also have the Latex Syntax highlighted. It's not strictly necessary IMO but it would be very useful for not having to use adifferent editors to edit those files.