1 local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" |
1 local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" |
2 if not vim.loop.fs_stat(lazypath) then |
2 if not vim.loop.fs_stat(lazypath) then |
3 vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable", lazypath }) |
3 vim.fn.system({ |
|
4 "git", |
|
5 "clone", |
|
6 "--filter=blob:none", |
|
7 "https://github.com/folke/lazy.nvim.git", |
|
8 "--branch=stable", |
|
9 lazypath, |
|
10 }) |
4 end |
11 end |
5 vim.opt.rtp:prepend(vim.env.LAZY or lazypath) |
12 vim.opt.rtp:prepend(vim.env.LAZY or lazypath) |
6 |
13 |
7 require("lazy").setup({ |
14 require("lazy").setup({ |
8 spec = { |
15 spec = { |