[NTG-context] (any) neovim users?
Hans Hagen
j.hagen at freedom.nl
Sat Oct 15 09:45:10 CEST 2022
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
-----------------------------------------------------------------
More information about the ntg-context
mailing list