-
|
Right now, my system has a binary of LOVE2D, but not the Lua source code itself. This leads to the LSP complaining about love being an undefined global. I can probably resolve this by packaging it later on, but for the time-being, I wish for |
Beta Was this translation helpful? Give feedback.
Answered by
Ashvith10
Dec 6, 2025
Replies: 1 comment
-
|
Looks like lua-language-server already provides third-party libraries. By creating a {
"workspace.library": [
"${3rd}/love2d/library"
]
}it works for |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Ashvith10
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looks like lua-language-server already provides third-party libraries. By creating a
.luarc.json:{ "workspace.library": [ "${3rd}/love2d/library" ] }it works for
love.