On Tue, 16 Feb 2016, Marco Patzer wrote:

On Tue, 16 Feb 2016 08:21:42 -0700
Alan BRASLAU <alan.bras...@cea.fr> wrote:

I do note that the VIM syntax highlighting routine is pretty poor and
has difficulties around $, which is a symbol that I like using
(unpaired) quite a lot in MetaPost (\startMPcode...\stopMPcode).

The stock vim context syntax highlighting ist terrible, indeed. I
modified the syntax files, the result is still terrible (and reflect
my personal context writing style instead of being general), but for
me they're better than the original ones. Then I contacted Nikolai
with the patches a while ago. He told me that he's not maintaining
the syntax files any longer and if I want to take over
maintainership. I declined because I know I wouldn't have much time
at my disposal the next months.

You could try my syntax files for context:

https://github.com/adityam/vim-context

It is fairly rudimentary (compared to the syntax files for latex), but I do get correct syntax highlighting inside metapost and lua environments.

Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to