File tree 2 files changed +16
-0
lines changed
2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 19
19
- [ ] package-lock.lua
20
20
- [x] tag/version support ` git tag --sort version:refname `
21
21
- [x] auto-loading on completion for lazy-loaded commands
22
+ - [x] bootstrap code
22
23
- [x] semver https://devhints.io/semver
23
24
https://semver.npmjs.com/
24
25
Original file line number Diff line number Diff line change @@ -72,4 +72,19 @@ function M.stats()
72
72
return ret
73
73
end
74
74
75
+ function M .bootstrap ()
76
+ local lazypath = vim .fn .stdpath (" data" ) .. " /site/pack/lazy/start/lazy.nvim"
77
+ if not vim .loop .fs_stat (lazypath ) then
78
+ vim .fn .system ({
79
+ " git" ,
80
+ " clone" ,
81
+ " --filter=blob:none" ,
82
+ " --single-branch" ,
83
+ " https://github.com/folke/lazy.nvim.git" ,
84
+ lazypath ,
85
+ })
86
+ vim .opt .runtimepath :append (lazypath )
87
+ end
88
+ end
89
+
75
90
return M
You can’t perform that action at this time.
0 commit comments