Bug#886285: vim-runtime: tex syntax highlighting fails to enter math mode within align environment

Francesco Poli invernomuto at paranoici.org
Mon Jan 29 18:33:40 UTC 2018


Control: reopen -1
Control: severity -1 wishlist


On Sun, 28 Jan 2018 13:22:28 -0500 James McCoy wrote:

> On Sun, Jan 28, 2018 at 06:31:38PM +0100, Francesco Poli wrote:
> > On Wed, 03 Jan 2018 21:34:19 +0100 Francesco Poli (wintermute) wrote:
> > 
> > [...]
> > > Hello again!
> > > 
> > > I noticed another regression, this time in tex syntax highlighting.
> > [...]
> > 
> > Hello again,
> > is there any progress on this regression?
> 
> Support for align was dropped upstream.  See “:help ft-tex-syntax” and
> “:help tex-morecommands” for extending the tex syntax highlighting.

Mmmmh, ":help tex-morecommands" states, in part:

[...]
| please consider using the techniques in mysyntaxfile-add to extend
| or modify the highlighting provided by syntax/tex.vim.
| Please consider uploading any extensions that you write,
| which typically would go in $HOME/after/syntax/tex/[pkgname].vim, to
| http://vim.sf.net/


So I am puzzled: upstream dropped support for extended syntax provided
by LaTeX packages (such as, for instance, amsmath), but, at the same
time, suggest users to write extensions and contribute them upstream!

Do you find this confusing?
I do.

If they decided to only support basic LaTeX syntax, why do they
solicit contributions to support extended syntax?
If they want to support extended LaTeX syntax, why did they drop
support for one of the extensions (amsmath)?


Anyway, please consider mine as a wishlist bug, asking upstream
to re-enable support for amsmath syntax.

One possible source of extended LaTeX syntax support is the [vimtex]
(https://github.com/lervag/vimtex/) plugin (which, unfortunately, does
not seem to be included in Debian). Its syntax highlighting 
[addition](https://github.com/lervag/vimtex/blob/master/after/syntax/tex.vim)
seems to support a number of syntax extensions, including amsmath.


Please forward this bug report upstream.

Thanks for your time!
Bye.



-- 
 http://www.inventati.org/frx/
 There's not a second to spare! To the laboratory!
..................................................... Francesco Poli .
 GnuPG key fpr == CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20180129/288445d1/attachment.sig>


More information about the pkg-vim-maintainers mailing list