diff --git a/lazy-conf-pager.lua b/lazy-conf-pager.lua new file mode 100644 index 0000000..e72fc8e --- /dev/null +++ b/lazy-conf-pager.lua @@ -0,0 +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", -- latest stable release + lazypath, + }) +end +vim.opt.rtp:prepend(lazypath) + +require("lazy").setup({ + spec = { + { import = "plugins.nav" }, + { import = "plugins.style" }, + { import = "plugins.util" }, + }, + change_detection = { + notify = false, -- dont notify when plugins are changed + }, +}) diff --git a/nvim-install.sh b/nvim-install.sh index 76092bf..baa524b 100755 --- a/nvim-install.sh +++ b/nvim-install.sh @@ -5,6 +5,7 @@ cp -r ./nvim/* ~/.config/nvim/ rm -rf ~/.config/nvimpager/ mkdir ~/.config/nvimpager cp -r ./nvim/* ~/.config/nvimpager/ +cp ./lazy-conf-pager.lua ~/.config/nvimpager/lua/lazy-conf.lua cd ~/.config/nvimpager/ rm -rf ./lua/plugins/lsp