vim-pandoc/vim-pandoc — Issue #32: Latex Sytanx Highlighting
Author: wuzzeb
Created: 2011-10-11 15:27:27+00:00
State: open

latex syntax highlighting in a pandoc file does not work if the $ starts on the first column. If you add a space before the $ then the highlighting is picked up.

I fixed this by adding pandocLatex to the contains entry on syn match pandocPara, so that $\mathcal{F}$ is highlighted correctly if it appears inside a paragraph.