docs: bootstrap

This commit is contained in:
Folke Lemaitre 2022-12-14 23:29:00 +01:00
parent 48edfecb69
commit 869e6dab4b
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 4 additions and 0 deletions

View File

@ -30,6 +30,8 @@
You can use the following Lua code to bootstrap **lazy.nvim**
<!-- bootstrap_start -->
```lua
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
@ -45,6 +47,8 @@ You can use the following Lua code to bootstrap **lazy.nvim**
end
```
<!-- bootstrap_end -->
Next step is to add **lazy.nvim** to the top of your `init.lua`
```lua