Urbain Vaes wrote:
>
> Hi!
>
> When I edit the following document with |vim -N -u NONE|,
>
> |\documentclass{article} \usepackage{amsmath} \begin{document}
> \begin{subequations} \begin{align} &1 + 1 = 2 \\ &2 + 2 = 4
> \end{align} \end{subequations} \end{document} |
>
> and use |:syntax on|, the line |\end{subequations}| appears as an
> error, although I believe this is correct latex code.
>
>
Hello:Looks like a "leftover" problem. I've been trying to remove all package related information from syntax/tex.vim. Instead, you should use add-on syntax highlighting for packages. * you can get an updated syntax/tex.vim from my website: http://www.drchip.org/astronaut/vim/index.html#SYNTAX_TEX . * you can get an add-on syntax package for amsmath also from my website: http://www.drchip.org/astronaut/vim/index.html#LATEXPKGS Regards, Chip Campbell -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
