This is the lua error that appears inside macvim when i run :ConTeXt

lua error       > lua error on line 70 in file ./labels3.tex:

function call [801]: ...-64/tex/texmf-context/tex/context/base/mkiv/node-syn.lua:435: attempt to index a nil value (upvalue 'filehandle’)

But when I take a sample code like this it went success, strange.

\mainlanguage[sv]

\starttext
\input tufte
\page
\input tufte
\stoptext

Is the difference when I’m running mtxrun … inside macvim

instead of just context ? in the terminal

24 juni 2020 kl. 21:05 skrev Jan-Erik Hägglöf <janerik.hagglof@bahnhof.se>:

lua error       > lua error on line 70 in file ./labels3.tex:

function call [801]: ...-64/tex/texmf-context/tex/context/base/mkiv/node-syn.lua:435: attempt to index a nil value (upvalue 'filehandle')