diff --git a/lua/love2d/config.lua b/lua/love2d/config.lua index e4e3fe7..c50e96a 100644 --- a/lua/love2d/config.lua +++ b/lua/love2d/config.lua @@ -2,7 +2,7 @@ local config = {} config.defaults = { path_to_love = "love", - path_to_love_library = vim.fn.expand("%:p:h:h:h") .. "/love2d/library", + path_to_love_library = vim.fn.globpath(vim.o.runtimepath, "love2d/library"), } ---@class options