-
-
Notifications
You must be signed in to change notification settings - Fork 376
Closed
Description
Hello,
I build a game with the love2d engine. The game is written in lua so I tried to use emacs lsp-lua
with this lua language server.
Here is an example of a "hello world" game :
local love = require "love"
function love.draw()
love.graphics.print("Hello World", 400, 300)
end
This "game" is run with the love engine : love.exe directory\where\is\the\file
The "require" line is not mandatory for the game to start, I put it because otherwise the lua language server
considers "love" as undefined. When I put it, I assume the lua language server picks up the "love.dll" which
is in the same directory as "love.exe".
However, autocompletion does not seem to work as for regular lua package. I noticed that I am only
proposed the "love" fields and functions which are already used in the script.
How can I improve this ?
Regards
Metadata
Metadata
Assignees
Labels
No labels