added lazy as its own plugin so it can manage it self
This commit is contained in:
parent
91801ea6ad
commit
ce57a9fe5a
@ -1,12 +1,23 @@
|
|||||||
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
|
||||||
vim.fn.system({
|
vim.fn.system({
|
||||||
"git",
|
"git",
|
||||||
"clone",
|
"clone",
|
||||||
"--filter=blob:none",
|
"--filter=blob:none",
|
||||||
"https://github.com/folke/lazy.nvim.git",
|
"https://github.com/folke/lazy.nvim.git",
|
||||||
"--branch=stable",
|
"--branch=stable",
|
||||||
lazypath
|
lazypath,
|
||||||
})
|
print([[
|
||||||
|
Installing lazy.vim and plugins....
|
||||||
|
]])
|
||||||
|
})
|
||||||
end
|
end
|
||||||
vim.opt.rtp:prepend(lazypath)
|
vim.opt.rtp:prepend(lazypath)
|
||||||
|
|
||||||
|
local plugins = {
|
||||||
|
--- Lazy ---
|
||||||
|
"folke/lazy.nvim" --- Lazy will manage itself
|
||||||
|
}
|
||||||
|
|
||||||
|
local opts = {}
|
||||||
|
require("lazy").setup(plugins, opts)
|
2
nvim/~/.config/zsh/.zsh_history
Normal file
2
nvim/~/.config/zsh/.zsh_history
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
: 1697393465:0;git status
|
||||||
|
: 1697393469:0;git add .
|
Loading…
Reference in New Issue
Block a user