File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ M.defaults = {
21
21
package = {
22
22
path = vim .fn .stdpath (" data" ) .. " /site" ,
23
23
name = " lazy" , -- plugins will be installed under package.path/pack/{name}/opt
24
- reset = true , -- packpath will be reset to only include lazy. This makes packadd a lot faster
25
24
},
26
25
-- Any plugin spec that contains one of the patterns will use your
27
26
-- local repo in the projects folder instead of fetchig it from github
@@ -51,6 +50,7 @@ M.defaults = {
51
50
performance = {
52
51
--- @type LazyCacheConfig
53
52
cache = nil ,
53
+ reset_packpath = true , -- packpath will be reset to only include lazy. This makes packadd a lot faster
54
54
},
55
55
}
56
56
@@ -79,7 +79,7 @@ function M.setup(spec, opts)
79
79
M .options .performance .cache = require (" lazy.core.cache" )
80
80
M .root = M .options .package .path .. " /pack/" .. M .options .package .name .. " /opt"
81
81
82
- if M .options .package . reset then
82
+ if M .options .performance . reset_packpath then
83
83
vim .go .packpath = M .options .package .path
84
84
else
85
85
vim .opt .packpath :prepend (M .options .package .path )
You can’t perform that action at this time.
0 commit comments