On 2022-10-14, Alan Braslau via ntg-context <ntg-context@ntg.nl> wrote: > A recent upgrade of the editor neovim leads to the following error > when using %&context identification at the head of .tex source files.
The ConTeXt plugin (as well as MetaPost and MetaFont ones) has recently been rewritten in Vim 9 script (the new scripting language embedded in Vim), which NeoVim does not support, afaik. See this thread: https://github.com/vim/vim/issues/10968. One thing you can do is: grab the old runtime files and put them in you own ~/.vim directory (following a similar layout). You may get those from the `runtime` folder of the Vim project: https://github.com/vim/vim, or from NeoVim repo. Just checkout a revision with the old scripts (searching for "update runtime" in the commit logs should help you filter the relevant commits). Nicola ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___________________________________________________________________________________