[email protected] wrote:
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 50 by [email protected]: tex.vim does not understand
IEEEeqnarray environment
http://code.google.com/p/vim/issues/detail?id=50
What steps will reproduce the problem?
1. Open a LaTeX document that uses IEEEeqnarray
2. Enter this string: \begin{IEEEeqnarray}{rCl}x_0 & = &
x_1\end{IEEEeqnarray}
3. Notice that the underscores are highlighted as errors
[snip]
Attachments:
tex.vim.patch 975 bytes
In addition, may I point out that in :help tex-package there's a
comment about posting extension support:
"Please consider uploading any extensions that you write, which
typically would go in $HOME/after/syntax/tex/[pkgname].vim, to
http://vim.sf.net/"
You should change your patch into such an extension support bit, having
the code go into
.vim/after/syntax/tex/IEEEeqnarray.vim
could be helpful to others.
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