On 2021-11-24, Aditya Mahajan via ntg-context
I don't know what is the current state of context syntax highlighting support in vim/neovim (I use a highly modifies syntax file). It will be nice to have support of \startMP(code|page) and \startluacode to do syntax highlighting for metapost and lua.
I maintain the ConTeXt's plugin for Vim. It has async compilation support, and context-sensitive (pun not intended) syntax highlighting. All is explained in the wiki. I would expect syntax highlighting and mappings to be functional in NeoVim, too (async jobs are incompatible with NeoVim, however). But, Vim and NeoVim have diverged enough that they should be considered totally different (and incompatible) programs. The new version of the ConTeXt plugin (which is not shipped yet) is written in Vim9 script, which NeoVim does not implement. My time is limited, so I can't support both platforms, and I have decided to stick with Vim. If anyone wants to try the new plugin, feel free to contact me via email.
Metafun has added some new keywords and it will be nice to support those. I believe that context ships with a file that outputs all these keywords but I don't remember the name.
Yes, that was added at my request (thanks Hans!). The command is: mtxrun --script mtx-interface --vim The next version of my plugin uses those. The version currently shipping with Vim was curated by hand, with the help of custom scripts to automate keyword extraction. It should be ok, although at this point not really up to date with the most recently added keywords.
It will be cool to have a more integrated support, like showing table of contents in the sidebar,
For that, I use the TagBar plugin, with custom Ctags configuration. Config is in the wiki!
modifying the jump keys so that so that ]] etc work correctly (with the context syntax)
The ConTeXt plugin in Vim does that. Again, take a look at the wiki. Cheers, Nicola