If I use the inline version of lstlisting as shown:
\lstinline{!$omp parallel for}
the syntax highlighting in vim goes wrong, and the remainder of the latex file is coloured red as if it is all part of the code listing. It's the dollar $ which causes the problem. How can I avoid this?
