From ce57a9fe5a87b073f7bbea6e9001fa9123137541 Mon Sep 17 00:00:00 2001 From: Nicolai Van der Storm Date: Sun, 15 Oct 2023 20:11:28 +0200 Subject: [PATCH] added lazy as its own plugin so it can manage it self --- nvim/lua/lazy.lua | 29 ++++++++++++++++++++--------- nvim/~/.config/zsh/.zsh_history | 2 ++ 2 files changed, 22 insertions(+), 9 deletions(-) create mode 100644 nvim/~/.config/zsh/.zsh_history diff --git a/nvim/lua/lazy.lua b/nvim/lua/lazy.lua index fe28bf4..e70ee09 100644 --- a/nvim/lua/lazy.lua +++ b/nvim/lua/lazy.lua @@ -1,12 +1,23 @@ local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" if not vim.loop.fs_stat(lazypath) then - vim.fn.system({ - "git", - "clone", - "--filter=blob:none", - "https://github.com/folke/lazy.nvim.git", - "--branch=stable", - lazypath - }) + vim.fn.system({ + "git", + "clone", + "--filter=blob:none", + "https://github.com/folke/lazy.nvim.git", + "--branch=stable", + lazypath, + print([[ + Installing lazy.vim and plugins.... + ]]) + }) end -vim.opt.rtp:prepend(lazypath) \ No newline at end of file +vim.opt.rtp:prepend(lazypath) + +local plugins = { + --- Lazy --- + "folke/lazy.nvim" --- Lazy will manage itself +} + +local opts = {} +require("lazy").setup(plugins, opts) \ No newline at end of file diff --git a/nvim/~/.config/zsh/.zsh_history b/nvim/~/.config/zsh/.zsh_history new file mode 100644 index 0000000..8677c44 --- /dev/null +++ b/nvim/~/.config/zsh/.zsh_history @@ -0,0 +1,2 @@ +: 1697393465:0;git status +: 1697393469:0;git add .