Open
Description
Using functions to create rgb colors is pretty command in UI, if you want to check what color you're creating would be interesting to add custom highlights for a file:
Real example:
Defining colors for a graph point:
https://gitlab.gnome.org/GNOME/gnome-power-manager/-/blob/master/src/gpm-statistics.c#L794
Adding comments after each line (and converting to hex is a workaround:
but would be nice if we are able to highlight just the function:
That would be something like automatize:
:syn match BGFF0000 "255, 0, 0"
:syn match BG0000FF "0, 0, 255"
:syn match BGC80000 "200, 0, 0"
:syn match BG0000c8 "0, 0, 200"
:syn match BGFFFFFF "255, 255, 255"
:syn match BG00FF00 "0, 255, 0"