Closed mtlaurentys closed 2 weeks ago
Thank you for reporting this issue. I can't get the addon to run now either ... I can't find out the cause right now. something must have changed.
In the meantime you can use the Addon manager of the Lua Language Server. All LuaTeX related libraries are included:
Or you clone the libraries
git clone https://github.com/Josef-Friedrich/LuaTeX_Lua-API.git <repo>
.vscode/settings.json
:
{
"Lua.workspace.library": [
"<repo>/library"
]
}
Hey, sorry for the late follow-up
Both your alternative and your fix worked as expected for me. Thank you for the support!
I have the following extensions installed:
However, when I open a lua file, anywhere I use the
tex
object, I get syntax warnings. When hovering, it reads:Undefined global 'tex'. Lua Diagnostics.(undefined-global)
Here is my
settings.json
:I expected that after adding the
setting.json
libraries it would work right away. I have tried closing and opening, but haven't went far on debugging this, as there are no other installation instructions.