Hello, I am currently working on a plugin for the lua syntax. It is supposed to get all of the arguments in the function then check the function code block for the arguments and alter the color of the text to match the same color of the argument while its in the function. I have done a ton of research into it, but have not found any real way to do it besides bypassing the restrictions on add_regions.
This is what I currently got it to do, but it just highlights everything.
I need it to have the colors reversed so that the text color is orange and not the background.
The only thing I was really able to find on this issue was this request on github: