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

highlight function arguments, function type signatures, and enum members #36

Open
quantum-booty opened this issue Dec 10, 2022 · 1 comment

Comments

@quantum-booty
Copy link

quantum-booty commented Dec 10, 2022

Could we add highlights to function arguments, function type signatures, and enum members, so that input and enum members are highlighted?
I understand this may add colours that are not in the carbon colourscheme, however I think it would improve the syntax highlighting.

Function argument "input" is highlighted in Kanagawa, but not in oxocarbon.
Kanagawa:
image

Also, the type annotation &str in the function signature isn't highlighted in oxocarbon.
Oxocarbon:
image

Enum members Up, Down, Left, Right are highlighted in Kanagawa, but not in oxocarbon:
Kanagawa:
image

Oxocarbon:
image

@quantum-booty quantum-booty changed the title highlight function arguments and enum members highlight function arguments, function type signatures, and enum members Dec 10, 2022
@shaunsingh
Copy link
Collaborator

I'll definitely look into adding this. The original IBM theme keeps it quite simple, highlighting the bare necessities, but I agree with you in that adding a few highlights would certainly make the code easier to read.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants