Skip to content

Commit

Permalink
fix(config): search for love2d library based on runtimepath
Browse files Browse the repository at this point in the history
  • Loading branch information
S1M0N38 committed Feb 11, 2024
1 parent 202efa5 commit fe421a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/love2d/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fe421a4

Please sign in to comment.