Latex sudo noob here. I had a question regarding the answer to the question TeXstudio recognize $ in R code as that of the math mode
How does one create the special comment listed in the answer?
It is used to reduce the incorrect highlighting in a minted like space for RStudio. I am trying to document some bash scripts and environemental variable references cause TexStudio to highlight whole swaths of text to math mode. The solution about would mitigate some of this but I don't know how to implement it.
Thanks,
Will
EDIT 1: So the obvious answer would be to add a "%$" to the end of the line. This does not work at least for me. This would make my question "Am I doing it wrong?" or "Is there another solution?"
EDIT 2: Below is an image of the problem:

Here it is with the suggested modification from the previous question:

%$at the end of the affected lines. At least, that's how I understand the answer. Have you tried that? Is the problem that it doesn't work? Or...? – cfr Jun 25 '15 at 18:56Also I see no command options in the configure window.
– crazywill32 Jun 25 '15 at 19:31