I am running Macvim 8.0.1633 (146) on macos 10.13.3 Weirdly, even with syntax on, the math highlighting is plain wrong: weird behavior

Here, I didn't search for end{equation} Does anyone know what is going on?

  • What's the output if you place the cursor on the incorrectly highlighted item and run the command: :echo synIDattr(synID(line("."), col("."), 1), "name") (which echos the name of the syntax item under the cursor)?
    – Rich
    May 10 '18 at 9:09
  • @Rich: Dear Rich, the output is: texBadMath The file compiles fine and the output is correct...
    – max_zorn
    May 11 '18 at 2:20
  • Do you have the complete file available somewhere? May 18 '18 at 13:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.