On 10/14/2022 5:00 PM, Alan Braslau via ntg-context wrote:
A recent upgrade of the editor neovim leads to the following error
when using %&context identification at the head of .tex source files.


Error detected while processing BufReadPost Autocommands for "*":
Error executing lua callback: 
/usr/local/share/nvim/runtime/lua/vim/filetype/detect.lua:1248: attempt to 
index local 'format' (a number
  value)
stack traceback:
         /usr/local/share/nvim/runtime/lua/vim/filetype/detect.lua:1248: in 
function 'ft'
         vim/filetype.lua:2362: in function 'dispatch'
         vim/filetype.lua:2522: in function 'match'
         /usr/local/share/nvim/runtime/filetype.lua:12: in function
</usr/local/share/nvim/runtime/filetype.lua:11>

Has anyone encountered this? (perhaps it has been fixed upstream?)
looks like some wrong alias elsewhere ... add

local format = string.format

before that error line

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------

___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to