mirror of https://github.com/folke/lazy.nvim.git
docs: bootstrap
This commit is contained in:
parent
48edfecb69
commit
869e6dab4b
|
@ -30,6 +30,8 @@
|
||||||
|
|
||||||
You can use the following Lua code to bootstrap **lazy.nvim**
|
You can use the following Lua code to bootstrap **lazy.nvim**
|
||||||
|
|
||||||
|
<!-- bootstrap_start -->
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||||
if not vim.loop.fs_stat(lazypath) then
|
if not vim.loop.fs_stat(lazypath) then
|
||||||
|
@ -45,6 +47,8 @@ You can use the following Lua code to bootstrap **lazy.nvim**
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
|
<!-- bootstrap_end -->
|
||||||
|
|
||||||
Next step is to add **lazy.nvim** to the top of your `init.lua`
|
Next step is to add **lazy.nvim** to the top of your `init.lua`
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
|
|
Loading…
Reference in New Issue