love2d.nvim icon indicating copy to clipboard operation
love2d.nvim copied to clipboard

bug: Plugin can't locate Löve

Open agoodfellow123 opened this issue 5 months ago • 0 comments

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.

  1. When :LoveRun executed, 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 with love ~/Documents/project/ for example it runs perfectly fine.

  2. 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

  1. Obtain Astronvim.
  2. Obtain Löve.
  3. Copy and paste the lazy installation as is to Astronvim's user.lua file.
  4. Update Mason to make sure you have everything.
  5. Create a folder.
  6. Create a file called main.lua
  7. write anything within Löve syntax (mine was just an empty draw function)
  8. :LoveRun

Expected Behavior

LoveRun to run the game from the selected file. LSP not throwing error to the word love

agoodfellow123 avatar May 15 '25 15:05 agoodfellow123