KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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?
Tags (comma-separated)
Save Edits
Cancel