How to change argument/parameter colors?


I want to change the color the conn, params inside the ( ) arguments. Is this possible?


To clarify, I want to be able to target just the conn and params arguments, so I can change their color.


What language are you using?


I’m using Elixir


Elixir doesn’t give a name to those inner arguments. It styles everything else, but not the arguments. And that means that you can’t really do much unless the grammar is changed to catch arguments inside a function. This is the HTML for that first line:

You can see that every part of it has its own <span> tag with class names, except for conn and params.

Fortunately for you, there’s an open issue on the package’s repo about this very thing.


Awesome, thanks for the help.