File tree 1 file changed +13
-12
lines changed
1 file changed +13
-12
lines changed Original file line number Diff line number Diff line change @@ -25,25 +25,25 @@ function M.setup(opts)
25
25
Plugin .load ()
26
26
Util .track ()
27
27
28
- Util .track (" install" )
29
- for _ , plugin in pairs (Config .plugins ) do
30
- if not plugin ._ .installed then
31
- vim .cmd (" do User LazyInstallPre" )
32
- require (" lazy.manage" ).install ({
33
- wait = true ,
34
- show = Config .options .interactive ,
35
- })
36
- break
28
+ if Config .options .install_missing then
29
+ Util .track (" install" )
30
+ for _ , plugin in pairs (Config .plugins ) do
31
+ if not plugin ._ .installed then
32
+ vim .cmd (" do User LazyInstallPre" )
33
+ require (" lazy.manage" ).install ({
34
+ wait = true ,
35
+ show = Config .options .interactive ,
36
+ })
37
+ break
38
+ end
37
39
end
40
+ Util .track ()
38
41
end
39
- Util .track ()
40
42
41
43
Util .track (" loader" )
42
44
Loader .setup ()
43
45
Util .track ()
44
46
45
- Util .track () -- end setup
46
-
47
47
local lazy_delta = vim .loop .hrtime () - cache_start
48
48
49
49
Loader .init_plugins ()
@@ -53,6 +53,7 @@ function M.setup(opts)
53
53
end
54
54
55
55
vim .cmd (" do User LazyDone" )
56
+ Util .track () -- end setup
56
57
end
57
58
58
59
function M .stats ()
You can’t perform that action at this time.
0 commit comments