diff --git a/lua/lazy/core/plugin.lua b/lua/lazy/core/plugin.lua index d3fb75d..cb76ed9 100644 --- a/lua/lazy/core/plugin.lua +++ b/lua/lazy/core/plugin.lua @@ -34,7 +34,7 @@ local M = {} ---@field dir string ---@field enabled? boolean|(fun():boolean) ---@field lazy? boolean ----@field local? boolean +---@field dev? boolean If set, then link to the respective folder under your ~/projects ---@field dependencies? string[] ---@field _ LazyPluginState @@ -86,7 +86,7 @@ function Spec:add(plugin, is_dep) -- check for plugins that should be local for _, pattern in ipairs(Config.options.dev.patterns) do - if plugin["local"] or plugin[1]:find(pattern, 1, true) then + if plugin.dev or plugin[1]:find(pattern, 1, true) then plugin.uri = Config.options.dev.path .. "/" .. plugin.name break end