oxocarbon.nvim icon indicating copy to clipboard operation
oxocarbon.nvim copied to clipboard

highlight function arguments, function type signatures, and enum members

Open quantum-booty opened this issue 2 years ago • 1 comments

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 avatar Dec 10 '22 17:12 quantum-booty

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.

shaunsingh avatar Dec 10 '22 21:12 shaunsingh