lazy.nvim/lua/lazy/core
atusy c8ea412270 feat: support dev.path as function
In some case, `dev.path .. plugin.name` is not enoguh.

For example, when using `ghq` to manage projects, plugin directories may
vary by onewrs of the plugins.

With this change, users can do something like below

``` lua
require("lazy").setup("plugins", {
  dev = {
    path = function(p)
      -- ghq
      local path, cnt = string.gsub(p.url, "^https://(.*)%.git$", "~/ghq/%1")
      if cnt == 1 then
        return path
      end

      -- fallback to default
      return "~/projects/" .. plugin.name
    end,
  },
})
```
2024-01-18 13:24:48 +09:00
..
handler refactor: Handler.load => Handler.resolve 2023-10-17 17:43:37 +02:00
cache.lua fix(loader): keep using the internal lua cache till 0.9.1 2023-04-19 12:59:39 +02:00
config.lua feat: support dev.path as function 2024-01-18 13:24:48 +09:00
loader.lua fix(loader): when reloading, clear plugin properties cache (#1153) 2023-10-25 20:00:50 +02:00
plugin.lua feat: support dev.path as function 2024-01-18 13:24:48 +09:00
util.lua style: show full trace when debug=true 2023-10-22 14:24:33 +02:00