love2d.nvim
love2d.nvim copied to clipboard
bug: Plugin can't locate Löve
Did you check docs and existing issues?
- [x] I have read all the plugin docs
- [x] I have searched the existing issues
- [x] I have searched the existing issues of plugins related to this issue
Neovim version (nvim -v)
v0.11.1
Operating system/version
Arch Linux
Describe the bug
Greetings, I have two problems, but I believe they are related, so I'm putting them in one issue.
-
When
:LoveRunexecuted, it gives me the error,attempt to concatenate field 'path_to_love_bin' (a nil value)therefore I believe the plugin can't locate Löve. Obviously I have Löve installed via pacman. And when I run via terminal withlove ~/Documents/project/for example it runs perfectly fine. -
LSP does not work at all. I do have Astronvim which has lua_ls preinstalled therefore there shouldn't be any problems but again, I believe the plugin can't locate love in path therefore no LSP. I might be wrong on that though, because from what I understood this step might not be related to Löve at all.
Steps To Reproduce
- Obtain Astronvim.
- Obtain Löve.
- Copy and paste the lazy installation as is to Astronvim's
user.luafile. - Update Mason to make sure you have everything.
- Create a folder.
- Create a file called main.lua
- write anything within Löve syntax (mine was just an empty draw function)
:LoveRun
Expected Behavior
LoveRun to run the game from the selected file.
LSP not throwing error to the word love