From: Hans Hagen via ntg-context <ntg-context@ntg.nl>
To: Alan Braslau via ntg-context <ntg-context@ntg.nl>
Cc: Hans Hagen <j.hagen@freedom.nl>
Subject: Re: (any) neovim users?
Date: Sat, 15 Oct 2022 09:45:10 +0200 [thread overview]
Message-ID: <54f64c58-14ec-77ac-8b03-32f6a8455a02@freedom.nl> (raw)
In-Reply-To: <20221014084439.33ecb9f3@boo.my.domain>
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
___________________________________________________________________________________
prev parent reply other threads:[~2022-10-15 7:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-14 15:00 Alan Braslau via ntg-context
2022-10-14 16:48 ` Nicola via ntg-context
2022-10-14 17:26 ` Alan Braslau via ntg-context
2022-10-14 18:59 ` Nicola via ntg-context
2022-10-14 20:21 ` Henning Hraban Ramm via ntg-context
2022-10-14 22:05 ` Alan Braslau via ntg-context
2022-10-14 22:16 ` Alan Braslau via ntg-context
2022-10-15 7:45 ` Hans Hagen via ntg-context [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54f64c58-14ec-77ac-8b03-32f6a8455a02@freedom.nl \
--to=ntg-context@ntg.nl \
--cc=j.hagen@freedom.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).